diff options
author | Ryan <fauxpark@gmail.com> | 2023-03-23 21:38:01 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-23 21:38:01 +1100 |
commit | ad625e7c06929092231e8f426cbe972681d91a03 (patch) | |
tree | 700973c7e0b4ffbf7a29e770c825bd6f90889715 /keyboards/idobao/montex | |
parent | b72b487b4dcfff01ebdd1c7ad697af20e7180354 (diff) |
Remove `RGB_DI_PIN` ifdefs (#20218)
Diffstat (limited to 'keyboards/idobao/montex')
-rw-r--r-- | keyboards/idobao/montex/v1/config.h | 2 | ||||
-rwxr-xr-x | keyboards/idobao/montex/v1rgb/config.h | 2 | ||||
-rwxr-xr-x | keyboards/idobao/montex/v2/config.h | 2 |
3 files changed, 2 insertions, 4 deletions
diff --git a/keyboards/idobao/montex/v1/config.h b/keyboards/idobao/montex/v1/config.h index 0cb9bb1f19..85cbcfcc14 100644 --- a/keyboards/idobao/montex/v1/config.h +++ b/keyboards/idobao/montex/v1/config.h @@ -23,7 +23,6 @@ #define LOCKING_RESYNC_ENABLE #define RGB_DI_PIN B1 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_CHRISTMAS @@ -39,4 +38,3 @@ #define RGBLIGHT_HUE_STEP 8 #define RGBLIGHT_SAT_STEP 8 #define RGBLIGHT_VAL_STEP 8 -#endif diff --git a/keyboards/idobao/montex/v1rgb/config.h b/keyboards/idobao/montex/v1rgb/config.h index 4851844dad..e405e2059f 100755 --- a/keyboards/idobao/montex/v1rgb/config.h +++ b/keyboards/idobao/montex/v1rgb/config.h @@ -5,7 +5,7 @@ #define RGB_DI_PIN B1 -#if defined(RGB_DI_PIN) && defined(RGB_MATRIX_ENABLE) +#if defined(RGB_MATRIX_ENABLE) // The number of LEDs connected #define RGB_MATRIX_LED_COUNT 31 diff --git a/keyboards/idobao/montex/v2/config.h b/keyboards/idobao/montex/v2/config.h index 47e51e9268..a7527d4bb7 100755 --- a/keyboards/idobao/montex/v2/config.h +++ b/keyboards/idobao/montex/v2/config.h @@ -7,7 +7,7 @@ /* LED Matrix & Animations */ #define RGB_DI_PIN B1 -#if defined(RGB_DI_PIN) && defined(RGB_MATRIX_ENABLE) +#if defined(RGB_MATRIX_ENABLE) #ifndef ID27_DISABLE_UNDERGLOW #define RGB_MATRIX_LED_COUNT 31 // The number of LEDs connected #else |