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-12-26 20:30:36 +01:00
parent f9863db33d
commit d14c580ce1

View File

@@ -75,7 +75,10 @@ void get_rds_ps_group(RDSEncoder* enc, RDSGroup *group) {
group->b |= enc->state[enc->program].ps_csegment;
if(enc->data[enc->program].af.num_afs) group->c = get_next_af(enc);
else group->b |= 1 << 11; // set to b
else {
group->b |= 1 << 11; // set to b
group->is_type_b = 1;
}
if(enc->data[enc->program].ta && enc->state[enc->program].tps_text[0] != '\0') group->d = enc->state[enc->program].tps_text[enc->state[enc->program].ps_csegment * 2] << 8 | enc->state[enc->program].tps_text[enc->state[enc->program].ps_csegment * 2 + 1];
else group->d = 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];