MCPcopy Create free account
hub / github.com/PiSCSI/piscsi / reset_timer

Method reset_timer

python/ctrlboard/src/menu/timer.py:23–26  ·  view source on GitHub ↗

Resets the timer and starts from the beginning.

(self)

Source from the content-addressed store, hash-verified

21 self.enabled = True
22
23 def reset_timer(self):
24 """Resets the timer and starts from the beginning."""
25 self.start_timestamp = int(time.time())
26 self.enabled = False

Callers 4

segueMethod · 0.45
updateMethod · 0.45
renderMethod · 0.45
cycleMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected