aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/baton
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-06-29 02:44:53 -0600
committerSelene ToyKeeper2023-06-29 02:44:53 -0600
commit3bf052387709ab2fcffcacf91dec7302f7c0e50c (patch)
tree42a9b32bc788e9497e646f3d073e7f98b0f73bac /spaghetti-monster/baton
parentfixed red aux blink on 1st frame of post-off voltage display (diff)
downloadanduril-3bf052387709ab2fcffcacf91dec7302f7c0e50c.tar.gz
anduril-3bf052387709ab2fcffcacf91dec7302f7c0e50c.tar.bz2
anduril-3bf052387709ab2fcffcacf91dec7302f7c0e50c.zip
Removed references to Harry Potter,
because J.K. Rowling is the figurehead of a hate group and I don't want to condone that in any way. I liked a 2-word phrase she wrote once, "mischief managed", but that was decades ago... and now she is the face of a transphobic movement known as TERFs. She turned out to be a pretty terrible person who uses her massive wealth and influence to spread hate and oppress people. To be clear: Trans rights are human rights. ... and anyone who has a problem with that has no place in this project. Patch suggested by SiteRelEnby, and TBH it's embarrassing that I didn't remove the phrase sooner. It seemed fun and innocent in 2017 when this project started, but ... things changed. https://github.com/SiteRelEnby/anduril2/commit/a1cee423b4e0e16909a90d5c3e6a7b70df30d755
Diffstat (limited to 'spaghetti-monster/baton')
-rw-r--r--spaghetti-monster/baton/baton.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/baton/baton.c b/spaghetti-monster/baton/baton.c
index 8a80134..e672755 100644
--- a/spaghetti-monster/baton/baton.c
+++ b/spaghetti-monster/baton/baton.c
@@ -152,12 +152,12 @@ uint8_t lockout_state(Event event, uint16_t arg) {
PWM1_LVL = 0; PWM2_LVL = 0; // make sure emitters are off
// sleep 1 second after user stops pressing buttons
if (arg > TICKS_PER_SECOND) { go_to_standby = 1; }
- return MISCHIEF_MANAGED;
+ return EVENT_HANDLED;
}
// 4 clicks: exit, and turn on at "low" level
else if (event == EV_4clicks) {
set_state(steady_state, 1);
- return MISCHIEF_MANAGED;
+ return EVENT_HANDLED;
}
return EVENT_NOT_HANDLED;
}