mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-31 17:29:17 +02:00
more fixes
This commit is contained in:
@@ -300,11 +300,11 @@ static void get_rds_group(uint16_t *blocks) {
|
|||||||
|
|
||||||
while(good_group == 0) {
|
while(good_group == 0) {
|
||||||
uint8_t grp_sqc_idx = rds_data.grp_sqc[0]++;
|
uint8_t grp_sqc_idx = rds_data.grp_sqc[0]++;
|
||||||
if(rds_data.grp_sqc[grp_sqc_idx+1] == '\0') {
|
if(rds_data.grp_sqc[grp_sqc_idx+2] == '\0') {
|
||||||
rds_data.grp_sqc[0] = 0;
|
rds_data.grp_sqc[0] = 0;
|
||||||
grp_sqc_idx = 0;
|
grp_sqc_idx = 0;
|
||||||
}
|
}
|
||||||
grp = rds_data.grp_sqc[grp_sqc_idx+1];
|
grp = rds_data.grp_sqc[grp_sqc_idx+2];
|
||||||
|
|
||||||
if(grp == '0') good_group = 1;
|
if(grp == '0') good_group = 1;
|
||||||
if(grp == '1' && rds_state.ecclic_enabled) good_group = 1;
|
if(grp == '1' && rds_state.ecclic_enabled) good_group = 1;
|
||||||
|
|||||||
Reference in New Issue
Block a user