aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-09-26 15:19:58 -0600
committerSelene ToyKeeper2017-09-26 15:19:58 -0600
commit491965697fc7f52f75cd737628349fd6a49a37c1 (patch)
treeeb0252a78d5e5ccaecc2098eeb54190294777e01
parentDropped moon power another 0.5 mA. (diff)
downloadanduril-491965697fc7f52f75cd737628349fd6a49a37c1.tar.gz
anduril-491965697fc7f52f75cd737628349fd6a49a37c1.tar.bz2
anduril-491965697fc7f52f75cd737628349fd6a49a37c1.zip
Fixed moon in lockout state. Was too low since the MCU wasn't underclocked.
-rw-r--r--spaghetti-monster/anduril/anduril.c5
1 files 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
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.