#580 minor updates for consistency

This commit is contained in:
Mikayla Fischler
2025-11-03 18:47:55 -05:00
parent 5abe687f69
commit 6123d5dad7
3 changed files with 3 additions and 4 deletions

View File

@@ -71,7 +71,7 @@ function backplane.init(config, __shared_memory)
-- comms modem is required if networked
if not (plc_state.wd_modem or plc_state.wl_modem) then
println("startup> comms modem not found")
println("startup> no comms modem found")
log.warning("BKPLN: no comms modem on startup")
plc_state.degraded = true

View File

@@ -72,7 +72,7 @@ function backplane.init(config, __shared_memory)
-- at least one comms modem is required
if not ((_bp.wd_nic and _bp.wd_nic.is_connected()) or (_bp.wl_nic and _bp.wl_nic.is_connected())) then
println("startup> comms modem not found")
println("startup> no comms modem found")
log.warning("BKPLN: no comms modem on startup")
return false
end

View File

@@ -138,8 +138,7 @@ local function main()
log.debug("startup> conn watchdog started")
-- setup comms
local nic = backplane.active_nic()
smem_sys.rtu_comms = rtu.comms(RTU_VERSION, nic, smem_sys.conn_watchdog)
smem_sys.rtu_comms = rtu.comms(RTU_VERSION, backplane.active_nic(), smem_sys.conn_watchdog)
log.debug("startup> comms init")
-- init threads