fix issue #119 (Possible Bug in techage:ta4_display)

This commit is contained in:
Joachim Stolberg 2023-03-05 11:34:34 +01:00
parent 57f5a3594b
commit b40447ed95

View File

@ -219,7 +219,7 @@ function techage.display.write_row(pos, payload, cycle_time, beduino)
nvm.text = nvm.text or {}
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
str = payload:sub(2) or "oops"
else