0
1
mirror of https://github.com/radio95-rnt/rds95.git synced 2026-02-27 12:53:53 +01:00
This commit is contained in:
2025-12-22 19:48:53 +01:00
parent 71ea29941a
commit 5165ea73e3

View File

@@ -18,9 +18,9 @@ if type(data) == "string" and data ~= nil then
elseif data == "dpty" then return string.format("DPTY=%s\r\n", string.format("%d", get_rds_dpty())) elseif data == "dpty" then return string.format("DPTY=%s\r\n", string.format("%d", get_rds_dpty()))
elseif data == "tp" then return string.format("TP=%s\r\n", string.format("%d", get_rds_tp())) elseif data == "tp" then return string.format("TP=%s\r\n", string.format("%d", get_rds_tp()))
elseif data == "ta" then return string.format("TA=%s\r\n", string.format("%d", get_rds_ta())) elseif data == "ta" then return string.format("TA=%s\r\n", string.format("%d", get_rds_ta()))
else return "?" end
-- TODO: more -- TODO: more
end end
end
cmd = cmd:lower() cmd = cmd:lower()
if cmd == "pi" then if cmd == "pi" then
local pi = tonumber(value, 16) local pi = tonumber(value, 16)