From 491965697fc7f52f75cd737628349fd6a49a37c1 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Tue, 26 Sep 2017 15:19:58 -0600 Subject: Fixed moon in lockout state. Was too low since the MCU wasn't underclocked. --- spaghetti-monster/anduril/anduril.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c index 7833f4f..1044398 100644 --- a/spaghetti-monster/anduril/anduril.c +++ b/spaghetti-monster/anduril/anduril.c @@ -962,9 +962,10 @@ void loop() { if (0) {} #ifdef USE_IDLE_MODE - else if ((state == steady_state) + else if ( (state == steady_state) || (state == off_state) - || (state == goodnight_state)) { + || (state == lockout_state) + || (state == goodnight_state) ) { #ifdef MOON_POWERSAVE if (actual_level < 5) { // run at quarter speed -- cgit v1.2.3