#608 fixed front panel network lights

This commit is contained in:
Mikayla Fischler
2025-02-16 11:44:30 -05:00
parent 7c22c172d5
commit e0d1eb3445
6 changed files with 6 additions and 6 deletions

View File

@@ -61,7 +61,7 @@ local function init(panel, num_units)
local modem = LED{parent=system,label="MODEM",colors=led_grn}
if not style.colorblind then
local network = RGBLED{parent=system,label="NETWORK",colors={colors.green,colors.red,colors.orange,colors.yellow,style.fp_ind_bkg}}
local network = RGBLED{parent=system,label="NETWORK",colors={colors.green,colors.red,colors.yellow,colors.orange,style.fp_ind_bkg}}
network.update(types.PANEL_LINK_STATE.DISCONNECTED)
network.register(ps, "link_state", network.update)
else