diff options
| author | Selene ToyKeeper | 2021-07-11 13:58:41 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2021-07-11 13:58:41 -0600 |
| commit | 1549e246f83fe132315d8a51ea9b1cb1a5a583ba (patch) | |
| tree | cfc360864b0021a520f49fc38e3c5a75b8710b1b /spaghetti-monster/fsm-misc.c | |
| parent | added Emisar D18 Nichia 219 build target (same as normal but reduced FET power) (diff) | |
| download | anduril-1549e246f83fe132315d8a51ea9b1cb1a5a583ba.tar.gz anduril-1549e246f83fe132315d8a51ea9b1cb1a5a583ba.tar.bz2 anduril-1549e246f83fe132315d8a51ea9b1cb1a5a583ba.zip | |
rewrote hybrid memory (manual memory timer) to eliminate corner cases
Old method:
- at 1-click power-on, choose a brightness based on off-time
(manual level or last-ramped level)
New method:
- when off longer than the timer, set last-ramped level to manual level
This fixes a bug:
- turn light off
- wait for timer
- turn light on with a shortcut to moon
- turn light off
- turn light on
- pre-patch, light went to last-ramped level instead of manual level
This change also reduces the ROM size slightly.
Diffstat (limited to 'spaghetti-monster/fsm-misc.c')
0 files changed, 0 insertions, 0 deletions
