fix issue #119 (Possible Bug in techage:ta4_display)
This commit is contained in:
parent
57f5a3594b
commit
b40447ed95
@ -219,7 +219,7 @@ function techage.display.write_row(pos, payload, cycle_time, beduino)
|
|||||||
nvm.text = nvm.text or {}
|
nvm.text = nvm.text or {}
|
||||||
mem.ticks = mem.ticks or 0
|
mem.ticks = mem.ticks or 0
|
||||||
|
|
||||||
if beduino then
|
if beduino or type(payload) == "string" then
|
||||||
row = tonumber(payload:sub(1,1) or "1") or 1
|
row = tonumber(payload:sub(1,1) or "1") or 1
|
||||||
str = payload:sub(2) or "oops"
|
str = payload:sub(2) or "oops"
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user