0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00

fix ps segments

This commit is contained in:
2025-03-28 20:30:04 +01:00
parent f76e946c7f
commit 648eed8caa

View File

@@ -210,8 +210,8 @@ static void get_rds_ps_group(RDSEncoder* enc, uint16_t *blocks) {
blocks[3] = enc->state[enc->program].ps_text[enc->state[enc->program].ps_csegment * 2] << 8 | enc->state[enc->program].ps_text[enc->state[enc->program].ps_csegment * 2 + 1];
}
enc->state[enc->program].ps_csegment++;
if (enc->state[enc->program].ps_csegment == 3) enc->state[enc->program].ps_csegment = 0;
enc->state[enc->program].ps_csegment++;
}
static void get_rds_rt_group(RDSEncoder* enc, uint16_t *blocks) {