mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-27 04:43:52 +01:00
wow
This commit is contained in:
@@ -285,8 +285,6 @@ static uint8_t get_rds_custom_groups(uint16_t *blocks) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void get_rds_group(uint16_t *blocks) {
|
static void get_rds_group(uint16_t *blocks) {
|
||||||
static uint8_t state;
|
|
||||||
|
|
||||||
blocks[0] = rds_data.pi;
|
blocks[0] = rds_data.pi;
|
||||||
blocks[1] = rds_data.tp << 10;
|
blocks[1] = rds_data.tp << 10;
|
||||||
blocks[1] |= rds_data.pty << 5;
|
blocks[1] |= rds_data.pty << 5;
|
||||||
@@ -327,7 +325,7 @@ static void get_rds_group(uint16_t *blocks) {
|
|||||||
case '0':
|
case '0':
|
||||||
if(rds_data.grp_sqc[1] != 3) rds_data.grp_sqc[0]--;
|
if(rds_data.grp_sqc[1] != 3) rds_data.grp_sqc[0]--;
|
||||||
rds_data.grp_sqc[1]++;
|
rds_data.grp_sqc[1]++;
|
||||||
get_rds_ps_group();
|
get_rds_ps_group(blocks);
|
||||||
goto group_coded;
|
goto group_coded;
|
||||||
case '1':
|
case '1':
|
||||||
if(rds_state.ecc_or_lic == 0) {
|
if(rds_state.ecc_or_lic == 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user