renamed RTU_ADVERT_TYPES to RTU_UNIT_TYPES

This commit is contained in:
Mikayla Fischler
2022-05-13 10:27:57 -04:00
parent 45f5843598
commit c53ddf1638
4 changed files with 30 additions and 30 deletions

View File

@@ -12,7 +12,7 @@ local rtu_t = types.rtu_t
local PROTOCOLS = comms.PROTOCOLS
local SCADA_MGMT_TYPES = comms.SCADA_MGMT_TYPES
local RTU_ADVERT_TYPES = comms.RTU_ADVERT_TYPES
local RTU_UNIT_TYPES = comms.RTU_UNIT_TYPES
local print = util.print
local println = util.println
@@ -262,7 +262,7 @@ rtu.comms = function (modem, local_port, server_port, conn_watchdog)
unit.reactor
}
if type == RTU_ADVERT_TYPES.REDSTONE then
if type == RTU_UNIT_TYPES.REDSTONE then
insert(advert, unit.device)
end