svsessions bugfixes

This commit is contained in:
Mikayla Fischler
2022-09-05 16:23:03 -04:00
parent 4359cc3e63
commit e456d34468
3 changed files with 2 additions and 4 deletions

View File

@@ -342,7 +342,7 @@ function plc.new_session(id, for_reactor, in_queue, out_queue)
end
elseif pkt.type == RPLC_TYPES.RPS_STATUS then
-- RPS status packet received, copy data
if pkt.length == 7 then
if pkt.length == 9 then
local status = pcall(_copy_rps_status, pkt.data)
if status then
-- copied in RPS status data OK