correct the offset words for rds2, group c always has the same offsets, but groups a and b have diffrent and can be sent via group c, so

This commit is contained in:
2025-03-24 21:31:57 +01:00
parent d65aab6956
commit 9516fdc95c
4 changed files with 22 additions and 24 deletions
+1 -1
View File
@@ -659,7 +659,7 @@ group_coded:
void get_rds_bits(RDSEncoder* enc, uint8_t *bits, uint8_t stream) {
static uint16_t out_blocks[GROUP_LENGTH];
get_rds_group(enc, out_blocks, stream);
add_checkwords(out_blocks, bits);
add_checkwords(out_blocks, bits, stream);
}
static void init_rtplus(RDSEncoder* enc, uint8_t group, uint8_t program) {