aboutsummaryrefslogtreecommitdiff
path: root/spaghetti-monster
diff options
context:
space:
mode:
authorSelene ToyKeeper2017-08-27 22:22:56 -0600
committerSelene ToyKeeper2017-08-27 22:22:56 -0600
commitf48209ee791282f72353a0806c8dab7fb814a4cb (patch)
tree495d2d4618ff33e822beb981f7389f4eecabfbd1 /spaghetti-monster
parentRemembered to put the thermal ceiling back at a sane value. (diff)
downloadanduril-f48209ee791282f72353a0806c8dab7fb814a4cb.tar.gz
anduril-f48209ee791282f72353a0806c8dab7fb814a4cb.tar.bz2
anduril-f48209ee791282f72353a0806c8dab7fb814a4cb.zip
Fixed bug: double-click from off didn't *really* go to the top of the ramp.
Diffstat (limited to 'spaghetti-monster')
-rw-r--r--spaghetti-monster/anduril.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril.c b/spaghetti-monster/anduril.c
index 6d25afa..eba21d1 100644
--- a/spaghetti-monster/anduril.c
+++ b/spaghetti-monster/anduril.c
@@ -116,7 +116,7 @@ uint8_t off_state(EventPtr event, uint16_t arg) {
}
// 2 clicks: highest mode
else if (event == EV_2clicks) {
- set_level(nearest_level(MAX_LEVEL));
+ set_state(steady_state, nearest_level(MAX_LEVEL));
return MISCHIEF_MANAGED;
}
#ifdef USE_BATTCHECK
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.