| Commit message (Collapse) | Author | Files | Lines |
|
Moved go_to_suspend thing into main() instead of making each UI handle that during loop().
Made default_state() optional.
Fixed bug where battcheck and other number readouts could interfere with the state which interrupted them.
(they would sometimes turn the LED off after the new state had already started)
Updated darkhorse's moon levels to match new ramp on D4 hardware.
|
|
|
|
Made momentary.c compile again.
Updated fsm-main to use whichever delay function is available.
|
|
It's smaller, and WL is probably not needed for this UI.
I only converted it as a test, and it worked, so ... woot.
|
|
Also, I've only tested it a tiny amount.
|
|
DarkHorse.
|
|
Turned strobe into a function to avoid repeating code, and made it tolerate interruption better.
Got rid of delay after battcheck, since it caused problems if the user didn't wait long enough before trying to turn the light back on.
|
|
(because it'd enter standby mode during the strobe pulse,
then continue the flow at next activation by turning the light off)
Replaced bare return values with ones defined in the FSM library.
|
|
ZebraLight does.
(previously ramped up one mode instead of resetting to low each time)
|
|
|
|
Added a way to explicitly cancel the current "nice" delay without changing state.
|
|
|
|
Still needs strobe, beacon, and memory which lasts across battery changes.
|