From e0a0c34b545ef4d82b67b1261076338db98d9e51 Mon Sep 17 00:00:00 2001 From: Mikayla Date: Fri, 7 Nov 2025 17:46:41 +0000 Subject: [PATCH] connected vs reconnected consistency --- coordinator/backplane.lua | 8 ++++---- reactor-plc/backplane.lua | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/coordinator/backplane.lua b/coordinator/backplane.lua index f0f7313..fa1208c 100644 --- a/coordinator/backplane.lua +++ b/coordinator/backplane.lua @@ -307,14 +307,14 @@ function backplane.attach(type, device, iface) _bp.displays.main = device - log.info("BKPLN: main display connected") + log.info("BKPLN: main display reconnected") iocontrol.fp_monitor_state("main", 2) elseif _bp.displays.flow_iface == iface then is_used = true _bp.displays.flow = device - log.info("BKPLN: flow display connected") + log.info("BKPLN: flow display reconnected") iocontrol.fp_monitor_state("flow", 2) else for idx, monitor in ipairs(_bp.displays.unit_ifaces) do @@ -323,7 +323,7 @@ function backplane.attach(type, device, iface) _bp.displays.unit_displays[idx] = device - log.info("BKPLN: unit " .. idx .. " display connected") + log.info("BKPLN: unit " .. idx .. " display reconnected") iocontrol.fp_monitor_state(idx, 2) break end @@ -332,7 +332,7 @@ function backplane.attach(type, device, iface) -- notify renderer if it is using it if is_used then - log_sys(util.c("configured monitor ", iface, " connected")) + log_sys(util.c("configured monitor ", iface, " reconnected")) _bp.smem.q.mq_render.push_data(MQ__RENDER_DATA.MON_CONNECT, iface) else log_sys(util.c("unused monitor ", iface, " connected")) diff --git a/reactor-plc/backplane.lua b/reactor-plc/backplane.lua index 1c03f24..baebec3 100644 --- a/reactor-plc/backplane.lua +++ b/reactor-plc/backplane.lua @@ -132,8 +132,8 @@ function backplane.attach(iface, type, device, print_no_fp) dev.reactor = device state.no_reactor = false - print_no_fp("reactor reconnected") - log.info("BKPLN: reactor reconnected") + print_no_fp("reactor connected") + log.info("BKPLN: reactor connected") -- we need to assume formed here as we cannot check in this main loop -- RPS will identify if it isn't and this will get set false later @@ -166,7 +166,7 @@ function backplane.attach(iface, type, device, print_no_fp) wd_nic.connect(device) log.info("BKPLN: WIRED PHY_UP " .. iface) - print_no_fp("wired comms modem reconnected") + print_no_fp("wired comms modem connected") state.wd_modem = true @@ -182,7 +182,7 @@ function backplane.attach(iface, type, device, print_no_fp) wl_nic.connect(device) log.info("BKPLN: WIRELESS PHY_UP " .. iface) - print_no_fp("wireless comms modem reconnected") + print_no_fp("wireless comms modem connected") state.wl_modem = true