refactoring and removed unused set_waste_ack

This commit is contained in:
Mikayla Fischler
2024-08-26 20:30:30 -04:00
parent 6b20445446
commit f4be6519e8
5 changed files with 8 additions and 9 deletions

View File

@@ -19,9 +19,9 @@ local process = {}
local self = {
io = nil, ---@type ioctl
comms = nil, ---@type coord_comms
---@class coord_control_states
---@class sys_control_states
control_states = {
---@class coord_auto_config
---@class sys_auto_config
process = {
mode = PROCESS.INACTIVE,
burn_target = 0.0,
@@ -55,7 +55,7 @@ function process.init(iocontrol, coord_comms)
end
local ctrl_states = settings.get("ControlStates", {})
local config = ctrl_states.process ---@type coord_auto_config
local config = ctrl_states.process ---@type sys_auto_config
-- facility auto control configuration
if type(config) == "table" then