#268 fixed incorrect info print on extra wireless modem connection

This commit is contained in:
Mikayla Fischler
2023-07-11 21:06:47 -04:00
parent 4ed6ec1c63
commit 084a153a79
7 changed files with 13 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ local plc = require("reactor-plc.plc")
local renderer = require("reactor-plc.renderer")
local threads = require("reactor-plc.threads")
local R_PLC_VERSION = "v1.5.3"
local R_PLC_VERSION = "v1.5.4"
local println = util.println
local println_ts = util.println_ts

View File

@@ -249,6 +249,8 @@ function threads.thread__main(smem, init)
if not plc_state.no_reactor then
plc_state.degraded = false
end
elseif device.isWireless() then
log.info("unused wireless modem reconnected")
else
log.info("wired modem reconnected")
end