0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 04:43:52 +01:00

add option to set the link bit in the 1A group

This commit is contained in:
2025-04-13 18:48:26 +02:00
parent a6cba08503
commit f57aa80a5e
3 changed files with 17 additions and 2 deletions

View File

@@ -365,12 +365,14 @@ static void get_rds_lps_group(RDSEncoder* enc, RDSGroup *group) {
static void get_rds_ecc_group(RDSEncoder* enc, RDSGroup *group) {
group->b |= 1 << 12;
group->c = enc->data[enc->program].ecc;
group->c = enc->state[enc->program].eon_linkage << 15;
group->c |= enc->data[enc->program].ecc;
}
static void get_rds_slcdata_group(RDSEncoder* enc, RDSGroup *group) {
group->b |= 1 << 12;
group->c = 0x6000;
group->c = enc->state[enc->program].eon_linkage << 15;
group->c |= 0x6000;
group->c |= enc->data[enc->program].slc_data;
}