RTU cleanup and fixes

This commit is contained in:
Mikayla
2025-11-06 22:48:42 +00:00
parent 6123d5dad7
commit 61305621c3
3 changed files with 1 additions and 3 deletions

View File

@@ -326,7 +326,6 @@ function rtu.comms(version, nic, conn_watchdog)
m_pkt.make(msg_type, msg)
s_pkt.make(self.sv_addr, self.seq_num, PROTOCOL.SCADA_MGMT, m_pkt.raw_sendable())
---@diagnostic disable-next-line: need-check-nil
nic.transmit(config.SVR_Channel, config.RTU_Channel, s_pkt)
self.seq_num = self.seq_num + 1
end