0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-26 20:33:53 +01:00
Files
rds95/scripts/1-state.lua
2025-12-26 11:27:56 +01:00

5 lines
198 B
Lua

function on_state()
if get_rds_rtp_meta(false) then init_rtp() end
if get_rds_rtp_meta(true) then init_ertp() end
if string.byte(get_userdata_offset(257, 1)) ~= 0 then init_ert() end
end