aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/darkhorse.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2017-08-26Avoid suspending at weird times by deferring the call to standby mode.Selene ToyKeeper1-24/+28
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.
2017-08-26Fixed bug: strobes could interfere with hold-from-off next time light was used.Selene ToyKeeper1-20/+24
(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.
2017-08-26Made DarkHorse always start at low when holding the button, like a real ↵Selene ToyKeeper1-24/+19
ZebraLight does. (previously ramped up one mode instead of resetting to low each time)
2017-08-26Forgot to handle beacon/strobe in LVP earlier.Selene ToyKeeper1-7/+4
2017-08-26Added beacons/strobes to DarkHorse.Selene ToyKeeper1-6/+57
Added a way to explicitly cancel the current "nice" delay without changing state.
2017-08-26Forgot to wrap one line for making thermal regulation optional.Selene ToyKeeper1-0/+2
2017-08-26Added DarkHorse, a clone of the ZebraLight UI.Selene ToyKeeper1-0/+290
Still needs strobe, beacon, and memory which lasts across battery changes.