0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
This commit is contained in:
2025-12-28 12:29:49 +01:00
parent 8955cc36e2
commit 61f8b1343e
2 changed files with 2 additions and 2 deletions

View File

@@ -75,7 +75,7 @@ function rds2_group(stream)
if _RDS2_ODA_aid > 8 then _RDS2_ODA_aid = 0 end if _RDS2_ODA_aid > 8 then _RDS2_ODA_aid = 0 end
if oda.handler then if oda.handler then
local generated, a, b, c, d = oda.handler(stream) 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 end
return true, (2 << 14) | channel, oda.aid, (oda.data >> 16) & 0xffff, oda.data & 0xffff return true, (2 << 14) | channel, oda.aid, (oda.data >> 16) & 0xffff, oda.data & 0xffff
end end

View File

@@ -38,7 +38,7 @@ local function start_rft()
_Rft_toggle = not _Rft_toggle _Rft_toggle = not _Rft_toggle
end end
return true, word1, word2, word3, word4 return true, (2 << 12) | word1, word2, word3, word4
end) end)
set_rds2_mode(2) set_rds2_mode(2)
end end