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

on god, i can send 48 bits?

This commit is contained in:
2025-12-27 15:03:23 +01:00
parent 2a2a8713b3
commit e32558ecf5
6 changed files with 87 additions and 49 deletions

View File

@@ -0,0 +1,10 @@
local _rds2_test_counter = 0
local function rds2_oda_test()
local id = register_oda_rds2(0xfffe, 0xfffff, false)
set_oda_handler_rds2(id, function ()
_rds2_test_counter = _rds2_test_counter + 1
if _rds2_test_counter > 0xffffffffffff then _rds2_test_counter = 0 end
return true, 0, (_rds2_test_counter & 0xffff00000000) >> 32, (_rds2_test_counter & 0xffff0000) >> 16, _rds2_test_counter & 0xffff
end)
end