#647 fixes to reactor PLC status light

This commit is contained in:
Mikayla Fischler
2025-11-15 23:05:04 -05:00
parent 99742c621a
commit 965fa0c7d1
2 changed files with 2 additions and 2 deletions

View File

@@ -21,7 +21,7 @@ local _dbus = {
-- evaluate and publish system health status
local function eval_status()
local ok = _dbus.degraded
local ok = not _dbus.degraded
if ok then
for _, v in pairs(_dbus.coroutines) do

View File

@@ -50,7 +50,7 @@ local function init(panel, config)
local system = Div{parent=panel,width=14,height=18,x=2,y=3}
local sys_status = LED{parent=system,label="STATUS",colors=cpair(colors.red,colors.green)}
local sys_status = LED{parent=system,label="STATUS",colors=cpair(colors.green,colors.red)}
local heartbeat = LED{parent=system,label="HEARTBEAT",colors=ind_grn}
system.line_break()