Skip to content

Commit

Permalink
typing too fast..
Browse files Browse the repository at this point in the history
  • Loading branch information
MAKOMO committed Oct 23, 2024
1 parent b6b7e17 commit 8a518b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/artisanlib/pid_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -1347,11 +1347,11 @@ def pidModeInit(self) -> None:
self.svTriggeredAlarms = [False]*self.svLen

if self.aw.qmc.flagstart:
self.time_pidON = (self.aw.qmc.timex[-1] if len(self.aw.qmc.timex[-1])>0 else 0)
self.time_pidON = (self.aw.qmc.timex[-1] if len(self.aw.qmc.timex)>0 else 0)
elif len(self.aw.qmc.on_timex)<1:
self.time_pidON = 0
else:
self.time_pidON = (self.aw.qmc.on_timex[-1] if len(self.aw.qmc.on_timex[-1])>0 else 0)
self.time_pidON = (self.aw.qmc.on_timex[-1] if len(self.aw.qmc.on_timex)>0 else 0)
if self.svMode == 1:
# turn the timer LCD color blue if in RS mode and not recording
self.aw.setTimerColor('rstimer')
Expand Down

0 comments on commit 8a518b2

Please sign in to comment.