fixed another typo

This commit is contained in:
Mikayla Fischler 2022-04-27 12:37:28 -04:00
parent 1ba5c7f828
commit ccf06956f9
2 changed files with 3 additions and 2 deletions

View File

@ -48,7 +48,7 @@ local __shared_memory = {
modem = ppm.get_wireless_modem() modem = ppm.get_wireless_modem()
}, },
-- system control objects -- system objects
plc_sys = { plc_sys = {
iss = nil, iss = nil,
plc_comms = nil, plc_comms = nil,

View File

@ -1,4 +1,5 @@
-- #REQUIRES comms.lua -- #REQUIRES comms.lua
-- #REQUIRES log.lua
-- #REQUIRES ppm.lua -- #REQUIRES ppm.lua
-- #REQUIRES util.lua -- #REQUIRES util.lua
@ -80,7 +81,7 @@ function thread__main(smem, init)
-- handle the packet -- handle the packet
local packet = plc_comms.parse_packet(param1, param2, param3, param4, param5) local packet = plc_comms.parse_packet(param1, param2, param3, param4, param5)
if packet ~= nil then if packet ~= nil then
smem.q.mq_comms.puch_packet(packet) smem.q.mq_comms.push_packet(packet)
end end
elseif event == "timer" and networked and param1 == conn_watchdog.get_timer() then elseif event == "timer" and networked and param1 == conn_watchdog.get_timer() then
-- haven't heard from server recently? shutdown reactor -- haven't heard from server recently? shutdown reactor