fixed supervisor clock not starting

This commit is contained in:
Mikayla Fischler
2022-05-26 17:49:53 -04:00
parent 78ddd4d782
commit 214f2d9028
3 changed files with 7 additions and 4 deletions

View File

@@ -35,7 +35,7 @@ local self = {
---@param sessions table
local function _iterate(sessions)
for i = 1, #sessions do
local session = sessions[i] ---@type plc_session_struct
local session = sessions[i] ---@type plc_session_struct|rtu_session_struct
if session.open then
local ok = session.instance.iterate()
if ok then