aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2020-08-01 20:08:41 -0600
committerSelene ToyKeeper2020-08-01 20:08:41 -0600
commite832e1057c011ab4c0d97c06a339262a998067a5 (patch)
treefa2d9d556d2ae85ffba076510aeea9eadc333ad8
parentremoved cfg-*.THIS, added by accident a while ago... oops (diff)
downloadanduril-e832e1057c011ab4c0d97c06a339262a998067a5.tar.gz
anduril-e832e1057c011ab4c0d97c06a339262a998067a5.tar.bz2
anduril-e832e1057c011ab4c0d97c06a339262a998067a5.zip
fixed bug: main LEDs stayed on while setting aux LED color in lockout mode
-rw-r--r--spaghetti-monster/anduril/lockout-mode.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spaghetti-monster/anduril/lockout-mode.c b/spaghetti-monster/anduril/lockout-mode.c
index e2a6f40..66392d9 100644
--- a/spaghetti-monster/anduril/lockout-mode.c
+++ b/spaghetti-monster/anduril/lockout-mode.c
@@ -28,7 +28,7 @@ uint8_t lockout_state(Event event, uint16_t arg) {
// button is being held
#ifdef USE_AUX_RGB_LEDS
// don't turn on during RGB aux LED configuration
- if (event == EV_click3_hold) { set_level(0); } else
+ if (event == EV_click7_hold) { set_level(0); } else
#endif
if ((event & (B_CLICK | B_PRESS)) == (B_CLICK | B_PRESS)) {
#ifdef LOCKOUT_MOON_LOWEST
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.