diff --git a/reactor-plc/startup.lua b/reactor-plc/startup.lua index 6ad612b..d610639 100644 --- a/reactor-plc/startup.lua +++ b/reactor-plc/startup.lua @@ -18,7 +18,7 @@ local plc = require("reactor-plc.plc") local renderer = require("reactor-plc.renderer") local threads = require("reactor-plc.threads") -local R_PLC_VERSION = "v1.7.4" +local R_PLC_VERSION = "v1.7.5" local println = util.println local println_ts = util.println_ts diff --git a/reactor-plc/threads.lua b/reactor-plc/threads.lua index afe6acb..8071fd8 100644 --- a/reactor-plc/threads.lua +++ b/reactor-plc/threads.lua @@ -368,9 +368,9 @@ function threads.thread__rps(smem) end end - -- if we are in standalone mode, continuously reset RPS + -- if we are in standalone mode and the front panel isn't working, continuously reset RPS -- RPS will trip again if there are faults, but if it isn't cleared, the user can't re-enable - if not networked then rps.reset(true) end + if not (networked or smem.plc_state.fp_ok) then rps.reset(true) end -- check safety (SCRAM occurs if tripped) if not plc_state.no_reactor then