From 61f8b1343ec6328fc63beca939cecc0d99bf71db Mon Sep 17 00:00:00 2001 From: KubaPro010 Date: Sun, 28 Dec 2025 12:29:49 +0100 Subject: [PATCH] oh --- scripts/0-rds2_oda.lua | 2 +- scripts/1-rft.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/0-rds2_oda.lua b/scripts/0-rds2_oda.lua index 129d3f5..b09fcbf 100644 --- a/scripts/0-rds2_oda.lua +++ b/scripts/0-rds2_oda.lua @@ -75,7 +75,7 @@ function rds2_group(stream) if _RDS2_ODA_aid > 8 then _RDS2_ODA_aid = 0 end if oda.handler then local generated, a, b, c, d = oda.handler(stream) - return generated, (1 << 14) | (channel << 8) | a, b, c, d + return generated, (channel << 8) | a, b, c, d end return true, (2 << 14) | channel, oda.aid, (oda.data >> 16) & 0xffff, oda.data & 0xffff end diff --git a/scripts/1-rft.lua b/scripts/1-rft.lua index 32cf326..33805a2 100644 --- a/scripts/1-rft.lua +++ b/scripts/1-rft.lua @@ -38,7 +38,7 @@ local function start_rft() _Rft_toggle = not _Rft_toggle end - return true, word1, word2, word3, word4 + return true, (2 << 12) | word1, word2, word3, word4 end) set_rds2_mode(2) end