Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
segue
Method · 0.45
update
Method · 0.45
render
Method · 0.45
cycle
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected