luacheck fixes

This commit is contained in:
Mikayla Fischler 2024-05-12 15:19:01 -04:00
parent 2b0a536292
commit be560cd532
3 changed files with 1 additions and 6 deletions

View File

@ -3,7 +3,6 @@
--
local util = require("scada-common.util")
local log = require("scada-common.log")
local core = require("graphics.core")

View File

@ -1,7 +1,6 @@
-- Icon Indicator Graphics Element
local element = require("graphics.element")
local util = require("scada-common.util")
---@class icon_sym_color
---@field color cpair

View File

@ -674,10 +674,7 @@ function iocontrol.record_unit_data(data)
local reactor_status = 1
local rps_status = 1
if not unit.connected then
-- disconnected
reactor_status = 1
else
if unit.connected then
-- update RPS status
if unit.reactor_data.rps_tripped then
control_status = 2