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

Method __init__

python/ctrlboard/src/menu/timer.py:10–13  ·  view source on GitHub ↗
(self, activation_delay)

Source from the content-addressed store, hash-verified

8 sets a flag if the activation delay exprires."""
9
10 def __init__(self, activation_delay):
11 self.start_timestamp = int(time.time())
12 self.activation_delay = activation_delay
13 self.enabled = False
14
15 def check_timer(self):
16 """Checks the timer whether it has reached the activation delay."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected