removed debug print
This commit is contained in:
parent
e119c11204
commit
b861d3f668
@ -86,7 +86,6 @@ function thread__main(shared_memory, init)
|
|||||||
async_wait(function () plc_comms.handle_packet(packet, plc_state) end)
|
async_wait(function () plc_comms.handle_packet(packet, plc_state) end)
|
||||||
elseif event == "timer" and networked and param1 == conn_watchdog.get_timer() then
|
elseif event == "timer" and networked and param1 == conn_watchdog.get_timer() then
|
||||||
-- haven't heard from server recently? shutdown reactor
|
-- haven't heard from server recently? shutdown reactor
|
||||||
println("timed out, passing event")
|
|
||||||
plc_comms.unlink()
|
plc_comms.unlink()
|
||||||
os.queueEvent("iss_command", ISS_EVENT.TRIP_TIMEOUT)
|
os.queueEvent("iss_command", ISS_EVENT.TRIP_TIMEOUT)
|
||||||
elseif event == "peripheral_detach" then
|
elseif event == "peripheral_detach" then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user