fix pcalls

This commit is contained in:
2026-03-10 17:15:42 +01:00
parent ad4f80c2b9
commit ca44cf83dc
6 changed files with 7 additions and 13 deletions
+2 -3
View File
@@ -210,7 +210,7 @@ void get_rds_group(RDSEncoder* enc, RDSGroup *group, uint8_t stream) {
if(!good_group) cant_find_group++;
else cant_find_group = 0;
if(!good_group && cant_find_group == 23) {
cant_find_group = 0;
break;
@@ -295,8 +295,7 @@ uint16_t offset_words_typeb[] = {
0x1B4, /* D */
};
void add_checkwords(RDSGroup *group, uint8_t *bits)
{
void add_checkwords(RDSGroup *group, uint8_t *bits) {
uint16_t* offset_words;
if(group->is_type_b) offset_words = offset_words_typeb;
else offset_words = offset_words_typea;