projects
/
saartuer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8fa0d3c
)
buzz twice to give users more time
author
Ralf Jung
<post@ralfj.de>
Wed, 2 Apr 2014 17:30:16 +0000
(19:30 +0200)
committer
Ralf Jung
<post@ralfj.de>
Wed, 2 Apr 2014 17:30:16 +0000
(19:30 +0200)
statemachine.py
patch
|
blob
|
history
diff --git
a/statemachine.py
b/statemachine.py
index cb1e4c86b156c94cc15aed4cab418d7345949291..a5e52f69b9bbe522ef839a3f98b23158116ad25a 100644
(file)
--- a/
statemachine.py
+++ b/
statemachine.py
@@
-95,6
+95,8
@@
class StateMachine():
def handle_pins_event(self):
pass # one needn't implement this
def handle_buzz_event(self,arg): # this shouldn't be overwritten
+ # Buzz twice to give users more time to run ;-)
+ self.actor().act(Actor.CMD_BUZZ)
self.actor().act(Actor.CMD_BUZZ)
arg("200 okay: buzz executed")
def handle_cmd_unlock_event(self,arg):