From ccf06956f9c71b6a27e9a44b7277fae48ab8aaf7 Mon Sep 17 00:00:00 2001 From: Mikayla Fischler Date: Wed, 27 Apr 2022 12:37:28 -0400 Subject: [PATCH] fixed another typo --- reactor-plc/startup.lua | 2 +- reactor-plc/threads.lua | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/reactor-plc/startup.lua b/reactor-plc/startup.lua index 56bb072..025c274 100644 --- a/reactor-plc/startup.lua +++ b/reactor-plc/startup.lua @@ -48,7 +48,7 @@ local __shared_memory = { modem = ppm.get_wireless_modem() }, - -- system control objects + -- system objects plc_sys = { iss = nil, plc_comms = nil, diff --git a/reactor-plc/threads.lua b/reactor-plc/threads.lua index 060bbe5..ec0d267 100644 --- a/reactor-plc/threads.lua +++ b/reactor-plc/threads.lua @@ -1,4 +1,5 @@ -- #REQUIRES comms.lua +-- #REQUIRES log.lua -- #REQUIRES ppm.lua -- #REQUIRES util.lua @@ -80,7 +81,7 @@ function thread__main(smem, init) -- handle the packet local packet = plc_comms.parse_packet(param1, param2, param3, param4, param5) if packet ~= nil then - smem.q.mq_comms.puch_packet(packet) + smem.q.mq_comms.push_packet(packet) end elseif event == "timer" and networked and param1 == conn_watchdog.get_timer() then -- haven't heard from server recently? shutdown reactor