aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/fsm-wdt.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2018-11-11Fixed the sleep tick counter wrapping around to 0 instead of 32768.Selene ToyKeeper1-1/+3
2018-11-11Several fixes...Selene ToyKeeper1-8/+15
- Made momentary+lockout modes smaller and work better. - Fixed buggy timing on hold events; made ticks_since_last_event reset when it should. - Reduced ROM size by caching volatile ticks_since_last_event sometimes. - Swapped what the top Event bit means, because it makes event handlers easier to write. - Made the maximum click event keep triggering if user keeps pressing, instead of dropping everything after the limit.
2018-11-11Rewrote the event system to use a single byte for each event instead of an ↵Selene ToyKeeper1-21/+17
array of actions. Not thoroughly tested yet, not done yet, have only updated Anduril to fit, and only partially.
2018-06-17Changed halfsleep mode to TICK_DURING_STANDBY. Added blinking indicator LED ↵Selene ToyKeeper1-7/+16
support to Anduril.
2018-06-17Implemented halfsleep mode.Selene ToyKeeper1-0/+17
Will probably change it quite a bit though, so I'm checking in changes first. Needs to be "tick during standby" instead of "half sleep".
2018-01-24Work around issues related to ADC interrupt auto-triggering itself.Selene ToyKeeper1-2/+2
(was firing off 1000 times faster than desired, causing several issues) (now only executes when explicitly requested by the WDT)
2017-12-12Debouncing finally works (at least, it does on my two test hosts).Selene ToyKeeper1-31/+7
2017-12-11Greatly improved button debouncing. Helps a lot on FW3A and my light saber.Selene ToyKeeper1-2/+31
Debouncing isn't 100% yet though.
2017-09-28Added reversing to Anduril. Made EV_tick always send 0 while in "hold" state.Selene ToyKeeper1-3/+8
Reversing is a build-time option.
2017-08-19Completely reorganized SpaghettiMonster code into smaller logical pieces: ↵Selene ToyKeeper1-0/+107
fsm-*.c and fsm-*.h.