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

@@ -379,7 +379,7 @@ function facility.new(config)
function public.auto_stop() self.mode = PROCESS.INACTIVE end
-- set automatic control configuration and start the process
---@param auto_cfg coord_auto_config configuration
---@param auto_cfg sys_auto_config configuration
---@return table response ready state (successfully started) and current configuration (after updating)
function public.auto_start(auto_cfg)
local charge_scaler = 1000000 -- convert MFE to FE

View File

@@ -245,7 +245,7 @@ function coordinator.new_session(id, s_addr, i_seq_num, in_queue, out_queue, tim
_send(CRDN_TYPE.FAC_CMD, { cmd, true })
elseif cmd == FAC_COMMAND.START then
if pkt.length == 6 then
---@type coord_auto_config
---@type sys_auto_config
local config = {
mode = pkt.data[2],
burn_target = pkt.data[3],