From e832e1057c011ab4c0d97c06a339262a998067a5 Mon Sep 17 00:00:00 2001 From: Selene ToyKeeper Date: Sat, 1 Aug 2020 20:08:41 -0600 Subject: fixed bug: main LEDs stayed on while setting aux LED color in lockout mode --- spaghetti-monster/anduril/lockout-mode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spaghetti-monster') 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 -- cgit v1.2.3