Fix bugs introduced into Planck EZ code
This commit is contained in:
committed by
Florian Didron
parent
927969d6cb
commit
5a30142914
@@ -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;
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user