aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-pcint.c
diff options
context:
space:
mode:
authorSelene ToyKeeper2019-11-20 15:33:43 -0700
committerSelene ToyKeeper2019-11-20 15:33:43 -0700
commit10bd9162c3033f993b98e3c5b96cb95b9205d20e (patch)
treeeded168b91976d43e4f4c15355767646aa2c8653 /spaghetti-monster/fsm-pcint.c
parentmerged fsm updates / irq-refactor branch, to get more stable voltage readings (diff)
parentmerged tiny fix from irq-refactor branch (fixed spurious wakeup) (diff)
downloadanduril-10bd9162c3033f993b98e3c5b96cb95b9205d20e.tar.gz
anduril-10bd9162c3033f993b98e3c5b96cb95b9205d20e.tar.bz2
anduril-10bd9162c3033f993b98e3c5b96cb95b9205d20e.zip
merged more updates from fsm / irq-refactor branches, finishing up previous changes
Diffstat (limited to 'spaghetti-monster/fsm-pcint.c')
-rw-r--r--spaghetti-monster/fsm-pcint.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/spaghetti-monster/fsm-pcint.c b/spaghetti-monster/fsm-pcint.c
index a4a496a..1ba1c15 100644
--- a/spaghetti-monster/fsm-pcint.c
+++ b/spaghetti-monster/fsm-pcint.c
@@ -97,8 +97,7 @@ void PCINT_inner(uint8_t pressed) {
pushed = push_event(B_RELEASE);
}
- // check if sequence matches any defined sequences
- // if so, send event to current state callback
+ // send event to the current state callback
if (pushed) {
button_last_state = pressed;
emit_current_event(0);