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/unison | |
parent | b72b487b4dcfff01ebdd1c7ad697af20e7180354 (diff) |
Remove `RGB_DI_PIN` ifdefs (#20218)
Diffstat (limited to 'keyboards/unison')
-rw-r--r-- | keyboards/unison/keymaps/via/config.h | 2 | ||||
-rw-r--r-- | keyboards/unison/keymaps/via/keymap.c | 2 | ||||
-rw-r--r-- | keyboards/unison/v04/config.h | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/keyboards/unison/keymaps/via/config.h b/keyboards/unison/keymaps/via/config.h index 8475af2baa..48fe417a5d 100644 --- a/keyboards/unison/keymaps/via/config.h +++ b/keyboards/unison/keymaps/via/config.h @@ -16,10 +16,8 @@ #pragma once -#ifdef RGB_DI_PIN #undef RGBLED_NUM #define RGBLED_NUM 17 // Layer Indicator(2) + Rotary Encoder(5) + Optional(2) + Under(8) #undef RGBLIGHT_LED_MAP #define RGBLIGHT_LED_MAP {2, 0, 1, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16} // Left to Right to Under -#endif diff --git a/keyboards/unison/keymaps/via/keymap.c b/keyboards/unison/keymaps/via/keymap.c index fe3ff4e82f..f61574ac12 100644 --- a/keyboards/unison/keymaps/via/keymap.c +++ b/keyboards/unison/keymaps/via/keymap.c @@ -128,10 +128,8 @@ layer_state_t layer_state_set_user(layer_state_t state) { Post Initialize ------------------------------------------------------------------------------ */ void keyboard_post_init_user(void) { - #ifdef RGB_DI_PIN // RGB Lighting: Set effect range from just after indicator. rgblight_set_effect_range(1, 16); - #endif #ifdef RGBLIGHT_LAYERS // RGB Lighting Layers: Setup LED layers rgblight_layers = my_rgb_layers; diff --git a/keyboards/unison/v04/config.h b/keyboards/unison/v04/config.h index ea285f4082..27309c9b72 100644 --- a/keyboards/unison/v04/config.h +++ b/keyboards/unison/v04/config.h @@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. /* RGB Lighting */ #define RGB_DI_PIN B7 -#ifdef RGB_DI_PIN #define RGBLED_NUM 7 // Layer Indicator(2) + Rotary Encoder(5) #define RGBLIGHT_LED_MAP {1, 2, 0, 3, 4, 5, 6} // align LEDs from Left to Right #define RGBLIGHT_HUE_STEP 4 @@ -49,7 +48,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. // #define RGBLIGHT_EFFECT_RGB_TEST // #define RGBLIGHT_EFFECT_ALTERNATING #define RGBLIGHT_EFFECT_TWINKLE -#endif /* * Feature disable options |