#602 only auto reset units that should be
This commit is contained in:
parent
cab3427c70
commit
40cb9f599a
@ -642,13 +642,14 @@ function update.auto_safety()
|
||||
self.ascram_reason = AUTO_SCRAM.NONE
|
||||
|
||||
-- reset PLC RPS trips if we should
|
||||
for i = 1, #self.units do
|
||||
local u = self.units[i]
|
||||
for i = 1, #self.prio_defs do
|
||||
for _, u in pairs(self.prio_defs[i]) do
|
||||
u.auto_cond_rps_reset()
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
-- update last mode, set next mode, and update saved state as needed
|
||||
function update.post_auto()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user