summaryrefslogtreecommitdiff
path: root/keyboards/input_club
diff options
context:
space:
mode:
authorRyan <fauxpark@gmail.com>2022-11-27 03:14:35 +1100
committerGitHub <noreply@github.com>2022-11-27 03:14:35 +1100
commita5a20cc792540c0de61f064bd8dafcdc5815d4cc (patch)
treedbb3fa8bcc1613b16d42e7216a3e3d200021662b /keyboards/input_club
parent2582992381ca1d5118184fea8ce943ae774cb15e (diff)
Change `LED_MATRIX_STARTUP_*` defines to `LED_MATRIX_DEFAULT_*` (#19080)
Diffstat (limited to 'keyboards/input_club')
-rw-r--r--keyboards/input_club/ergodox_infinity/ergodox_infinity.c6
-rw-r--r--keyboards/input_club/whitefox/whitefox.c6
2 files changed, 6 insertions, 6 deletions
diff --git a/keyboards/input_club/ergodox_infinity/ergodox_infinity.c b/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
index d699d76333..6f7de7ff29 100644
--- a/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
+++ b/keyboards/input_club/ergodox_infinity/ergodox_infinity.c
@@ -117,10 +117,10 @@ void matrix_init_kb(void) {
* Since K20x is stuck with a 32 byte EEPROM (see tmk_core/common/chibios/eeprom_teensy.c),
* and neither led_matrix_eeconfig.speed or .flags fit in this boundary, just force their values to default on boot.
*/
-# if !defined(LED_MATRIX_STARTUP_SPD)
-# define LED_MATRIX_STARTUP_SPD UINT8_MAX / 2
+# if !defined(LED_MATRIX_DEFAULT_SPD)
+# define LED_MATRIX_DEFAULT_SPD UINT8_MAX / 2
# endif
- led_matrix_set_speed(LED_MATRIX_STARTUP_SPD);
+ led_matrix_set_speed(LED_MATRIX_DEFAULT_SPD);
led_matrix_set_flags(LED_FLAG_ALL);
#endif
diff --git a/keyboards/input_club/whitefox/whitefox.c b/keyboards/input_club/whitefox/whitefox.c
index 8d92aa8d2f..168eccbb12 100644
--- a/keyboards/input_club/whitefox/whitefox.c
+++ b/keyboards/input_club/whitefox/whitefox.c
@@ -83,10 +83,10 @@ void matrix_init_kb(void) {
* Since K20x is stuck with a 32 byte EEPROM (see tmk_core/common/chibios/eeprom_teensy.c),
* and neither led_matrix_eeconfig.speed or .flags fit in this boundary, just force their values to default on boot.
*/
-# if !defined(LED_MATRIX_STARTUP_SPD)
-# define LED_MATRIX_STARTUP_SPD UINT8_MAX / 2
+# if !defined(LED_MATRIX_DEFAULT_SPD)
+# define LED_MATRIX_DEFAULT_SPD UINT8_MAX / 2
# endif
- led_matrix_set_speed(LED_MATRIX_STARTUP_SPD),
+ led_matrix_set_speed(LED_MATRIX_DEFAULT_SPD),
led_matrix_set_flags(LED_FLAG_ALL);
#endif