projects
/
saartuer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Only wait for space switches while we are in StateZu
[saartuer.git]
/
waker.py
diff --git
a/waker.py
b/waker.py
index b1d475b4f9ffd8b899f433a165a00f5301faadd5..7b212a194f79bdc5398c47e52cf2c2dccf9aa4c0 100644
(file)
--- a/
waker.py
+++ b/
waker.py
@@
-4,7
+4,7
@@
from statemachine import StateMachine
class Waker():
def __init__(self, sm):
self._sm = sm
class Waker():
def __init__(self, sm):
self._sm = sm
- self._t = ThreadRepeater(self._wake, 0.5)
+ self._t = ThreadRepeater(self._wake, 0.5
, name="Waker"
)
def _wake(self):
self._sm.callback(StateMachine.CMD_WAKEUP)
def _wake(self):
self._sm.callback(StateMachine.CMD_WAKEUP)