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