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:
@@ -290,7 +290,7 @@ static void get_oda_af_group(RDSEncoder* enc, RDSGroup *group) {
|
|||||||
|
|
||||||
group->b |= 9 << 12;
|
group->b |= 9 << 12;
|
||||||
for (int i = 0; i < 4; i++) {
|
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;
|
group->c = af[0] & 0xFF;
|
||||||
|
|||||||
Reference in New Issue
Block a user