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-23 20:30:23 +02:00
parent 7e6021e2f3
commit cac63033bc
2 changed files with 3 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
{
"port": 13452,
"time": 1745323988035,
"time": 1745432304494,
"version": "0.0.3"
}

View File

@@ -98,10 +98,8 @@ static uint16_t get_next_af(RDSEncoder* enc) {
} else {
out = enc->data[enc->program].af.afs[enc->state[enc->program].af_state] << 8;
if (enc->data[enc->program].af.afs[enc->state[enc->program].af_state + 1]) out |= enc->data[enc->program].af.afs[enc->state[enc->program].af_state + 1];
else {
out |= AF_CODE_FILLER;
enc->state[enc->program].af_state += 2;
}
else out |= AF_CODE_FILLER;
enc->state[enc->program].af_state += 2;
}
if (enc->state[enc->program].af_state >= enc->data[enc->program].af.num_entries) enc->state[enc->program].af_state = 0;
} else out = AF_CODE_NUM_AFS_BASE << 8 | AF_CODE_FILLER;