#300 comms device type cleanup

This commit is contained in:
Mikayla
2023-08-30 21:15:42 +00:00
parent cfc6479dd5
commit f267a4e569
3 changed files with 5 additions and 11 deletions

View File

@@ -291,7 +291,7 @@ function supervisor.comms(_version, nic, fp_ok)
end
_send_establish(packet.scada_frame, ESTABLISH_ACK.BAD_VERSION)
elseif dev_type == DEVICE_TYPE.CRDN then
elseif dev_type == DEVICE_TYPE.CRD then
-- this is an attempt to establish a new coordinator session
local s_id = svsessions.establish_crd_session(src_addr, firmware_v)