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

is this correct?

This commit is contained in:
2025-03-24 21:34:10 +01:00
parent 9516fdc95c
commit 2cd3b67dff

View File

@@ -28,7 +28,7 @@ void add_checkwords(uint16_t *blocks, uint8_t *bits, uint8_t stream)
{ {
uint16_t offset_word; uint16_t offset_word;
bool group_type_b = IS_TYPE_B(blocks); bool group_type_b = IS_TYPE_B(blocks);
bool rds2_tunneling = (blocks[0] & 0xFE00) && (stream != 0); bool rds2_tunneling = !((blocks[0] & 0xFE00) && (stream != 0));
for (uint8_t i = 0; i < GROUP_LENGTH; i++) { for (uint8_t i = 0; i < GROUP_LENGTH; i++) {
offset_word = offset_words[i]; offset_word = offset_words[i];