Skip to content

Commit

Permalink
min -> max
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeBishop committed Aug 11, 2021
1 parent 4999d0d commit 1faf4f5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/TWCManager/TWCSlave.py
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ def receive_slave_heartbeat(self, heartbeatData):
dampenChanges = (
True
if now
- min(self.timeLastAmpsDesiredFlipped, self.timeLastAmpsOfferedChanged)
- max(self.timeLastAmpsDesiredFlipped, self.timeLastAmpsOfferedChanged)
< self.startStopDelay
else False
)
Expand Down

0 comments on commit 1faf4f5

Please sign in to comment.