0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
This commit is contained in:
2025-04-13 18:22:00 +02:00
parent fe6a6fc079
commit ff6f28da35

View File

@@ -120,10 +120,10 @@ static uint16_t get_next_af(RDSEncoder* enc) {
}
static void get_next_af_oda(RDSEncoder* enc, uint16_t* af_group) {
uint8_t offset = 0;
uint8_t offset = 1;
if (enc->state[enc->program].af_oda_state == 0) {
af_group[0] = (AF_CODE_NUM_AFS_BASE + enc->data[enc->program].af_oda.num_afs);
offset = 1;
offset++;
} else {
af_group[0] = enc->data[enc->program].af_oda.afs[enc->state[enc->program].af_oda_state++];
}