diff options
| author | Selene ToyKeeper | 2020-08-31 14:07:42 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-08-31 14:07:42 -0600 |
| commit | 9012abcf4055d27ed74c168d4a04fb6bdc641379 (patch) | |
| tree | a6072ff953c7ff096d7dbe0ff560fedd4ee41cc5 /spaghetti-monster | |
| parent | made text manual consistent with UI reference table (diff) | |
| download | anduril-9012abcf4055d27ed74c168d4a04fb6bdc641379.tar.gz anduril-9012abcf4055d27ed74c168d4a04fb6bdc641379.tar.bz2 anduril-9012abcf4055d27ed74c168d4a04fb6bdc641379.zip | |
made manual memory work when unlocking light
Diffstat (limited to 'spaghetti-monster')
| -rw-r--r-- | spaghetti-monster/anduril/lockout-mode.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spaghetti-monster/anduril/lockout-mode.c b/spaghetti-monster/anduril/lockout-mode.c index 0d4de01..e65886d 100644 --- a/spaghetti-monster/anduril/lockout-mode.c +++ b/spaghetti-monster/anduril/lockout-mode.c @@ -91,6 +91,11 @@ uint8_t lockout_state(Event event, uint16_t arg) { // 4 clicks: exit and turn on else if (event == EV_4clicks) { blink_once(); + #ifdef USE_MANUAL_MEMORY + if (manual_memory) + set_state(steady_state, manual_memory); + else + #endif set_state(steady_state, memorized_level); return MISCHIEF_MANAGED; } |
