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

6 lines
239 B
Lua

---@diagnostic disable: undefined-global
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