summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--keyboards/planck/ez/ez.c6
-rw-r--r--quantum/stm32/chconf.h2
2 files changed, 4 insertions, 4 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;
diff --git a/quantum/stm32/chconf.h b/quantum/stm32/chconf.h
index ce44925f3c..edb697d4da 100644
--- a/quantum/stm32/chconf.h
+++ b/quantum/stm32/chconf.h
@@ -48,7 +48,7 @@
* @details Frequency of the system timer that drives the system ticks. This
* setting also defines the system tick time unit.
*/
-#define CH_CFG_ST_FREQUENCY 1000
+#define CH_CFG_ST_FREQUENCY 100000
/**
* @brief Time delta constant for the tick-less mode.