mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-02-26 20:33:53 +01:00
oh
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user