aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-08-31 14:07:42 -0600
committerSelene ToyKeeper2020-08-31 14:07:42 -0600
commit9012abcf4055d27ed74c168d4a04fb6bdc641379 (patch)
treea6072ff953c7ff096d7dbe0ff560fedd4ee41cc5
parentmade text manual consistent with UI reference table (diff)
downloadanduril-9012abcf4055d27ed74c168d4a04fb6bdc641379.tar.gz
anduril-9012abcf4055d27ed74c168d4a04fb6bdc641379.tar.bz2
anduril-9012abcf4055d27ed74c168d4a04fb6bdc641379.zip
made manual memory work when unlocking light
-rw-r--r--spaghetti-monster/anduril/lockout-mode.c5
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;
}
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.