summaryrefslogtreecommitdiff
path: root/keyboards/planck
diff options
context:
space:
mode:
authorDrashna Jael're <drashna@live.com>2019-08-05 13:00:41 -0700
committerFlorian Didron <fdidron@users.noreply.github.com>2019-08-06 08:17:35 +0900
commit5a30142914d5cb1bb2ce50e133d6cb2cfa3a86ec (patch)
treedd19e43fa8b1f905ee1f59e22d415aeb797321b0 /keyboards/planck
parent927969d6cb09daa969faebec69998186b883c140 (diff)
Fix bugs introduced into Planck EZ code
Diffstat (limited to 'keyboards/planck')
-rw-r--r--keyboards/planck/ez/ez.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/keyboards/planck/ez/ez.c b/keyboards/planck/ez/ez.c
index fa169f4528..67a578d89e 100644
--- a/keyboards/planck/ez/ez.c
+++ b/keyboards/planck/ez/ez.c
@@ -228,13 +228,13 @@ uint32_t layer_state_set_kb(uint32_t state) {
state = layer_state_set_user(state);
uint8_t layer = biton32(state);
switch (layer) {
- case 3:
+ case 1:
planck_ez_left_led_on();
break;
- case 4:
+ case 2:
planck_ez_right_led_on();
break;
- case 6:
+ case 3:
planck_ez_right_led_on();
planck_ez_left_led_on();
break;