mirror of
https://github.com/radio95-rnt/rds95.git
synced 2026-07-30 16:59:15 +02:00
oh
This commit is contained in:
+2
-1
@@ -76,6 +76,8 @@ if type(data) == "string" and data ~= nil then
|
|||||||
-- TODO: more
|
-- TODO: more
|
||||||
end
|
end
|
||||||
|
|
||||||
|
cmd = cmd:lower()
|
||||||
|
|
||||||
local eon_set_cmd, eon_set_num, eon_set_type = cmd:match("^eon(%d+)([a-z]+)$")
|
local eon_set_cmd, eon_set_num, eon_set_type = cmd:match("^eon(%d+)([a-z]+)$")
|
||||||
if eon_set_cmd then
|
if eon_set_cmd then
|
||||||
local eon_idx = tonumber(eon_set_cmd)
|
local eon_idx = tonumber(eon_set_cmd)
|
||||||
@@ -158,7 +160,6 @@ if type(data) == "string" and data ~= nil then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
cmd = cmd:lower()
|
|
||||||
if cmd == "pi" then
|
if cmd == "pi" then
|
||||||
local pi = tonumber(value, 16)
|
local pi = tonumber(value, 16)
|
||||||
if not pi then return "-" end
|
if not pi then return "-" end
|
||||||
|
|||||||
Reference in New Issue
Block a user