Attempt again to fix no warnings
This commit is contained in:
parent
a96b847011
commit
62a302c54b
1 changed files with 2 additions and 1 deletions
|
@ -254,7 +254,8 @@ class StateMachine {
|
|||
if (WI == WarnIntervals.NONE) continue;
|
||||
|
||||
if (WI.seconds >= sec &&
|
||||
WI.seconds <= current.seconds &&
|
||||
(current == WarnIntervals.NONE ||
|
||||
WI.seconds <= current.seconds) &&
|
||||
WI != current) {
|
||||
current = WI;
|
||||
send = true;
|
||||
|
|
Loading…
Reference in a new issue