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

take msb correctly

This commit is contained in:
2025-04-13 18:34:03 +02:00
parent cbe856d448
commit da3bc75208

View File

@@ -290,7 +290,7 @@ static void get_oda_af_group(RDSEncoder* enc, RDSGroup *group) {
group->b |= 9 << 12;
for (int i = 0; i < 4; i++) {
group->b |= ((af[i] >> 15) & 1) << i;
group->b |= ((af[i] >> 8) & 1) << i;
}
group->c = af[0] & 0xFF;