aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster/momentary
diff options
context:
space:
mode:
Diffstat (limited to 'spaghetti-monster/momentary')
-rw-r--r--spaghetti-monster/momentary/momentary.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spaghetti-monster/momentary/momentary.c b/spaghetti-monster/momentary/momentary.c
index 6b049f4..d4ac1db 100644
--- a/spaghetti-monster/momentary/momentary.c
+++ b/spaghetti-monster/momentary/momentary.c
@@ -52,7 +52,7 @@ uint8_t momentary_state(EventPtr event, uint16_t arg) {
else if (event == EV_release) {
light_off();
empty_event_sequence(); // don't attempt to parse multiple clicks
- standby_mode(); // sleep while light is off
+ go_to_standby = 1; // sleep while light is off
return 0;
}
@@ -68,7 +68,7 @@ void low_voltage() {
} else {
debug_blink(8);
light_off();
- standby_mode();
+ go_to_standby = 1;
}
}
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.