#54 don't trip RPS fault on terminate as it ends up being redundant with shutdown sequence
This commit is contained in:
@@ -51,7 +51,9 @@ plc.rps_init = function (reactor)
|
||||
|
||||
-- set reactor access fault flag
|
||||
local _set_fault = function ()
|
||||
self.state[state_keys.fault] = true
|
||||
if self.reactor.__p_last_fault() ~= "Terminated" then
|
||||
self.state[state_keys.fault] = true
|
||||
end
|
||||
end
|
||||
|
||||
-- clear reactor access fault flag
|
||||
|
||||
@@ -13,7 +13,7 @@ local config = require("reactor-plc.config")
|
||||
local plc = require("reactor-plc.plc")
|
||||
local threads = require("reactor-plc.threads")
|
||||
|
||||
local R_PLC_VERSION = "alpha-v0.6.6"
|
||||
local R_PLC_VERSION = "alpha-v0.6.7"
|
||||
|
||||
local print = util.print
|
||||
local println = util.println
|
||||
|
||||
Reference in New Issue
Block a user