From ad625e7c06929092231e8f426cbe972681d91a03 Mon Sep 17 00:00:00 2001 From: Ryan Date: Thu, 23 Mar 2023 21:38:01 +1100 Subject: Remove `RGB_DI_PIN` ifdefs (#20218) --- keyboards/matrix/cain_re/config.h | 2 -- keyboards/matrix/m12og/rev2/config.h | 2 -- 2 files changed, 4 deletions(-) (limited to 'keyboards/matrix') diff --git a/keyboards/matrix/cain_re/config.h b/keyboards/matrix/cain_re/config.h index 77077bad34..70e5bca590 100644 --- a/keyboards/matrix/cain_re/config.h +++ b/keyboards/matrix/cain_re/config.h @@ -21,7 +21,6 @@ #define RGB_DI_PIN E6 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL @@ -40,7 +39,6 @@ #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_SLEEP #define RGBLIGHT_LED_MAP { 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 0, 1, 2, 3 } -#endif #define CAPS_PIN D3 #define NUM_PIN F7 diff --git a/keyboards/matrix/m12og/rev2/config.h b/keyboards/matrix/m12og/rev2/config.h index 415ab3dbdd..8494950e6d 100644 --- a/keyboards/matrix/m12og/rev2/config.h +++ b/keyboards/matrix/m12og/rev2/config.h @@ -6,7 +6,6 @@ #define RGB_DI_PIN B3 -#ifdef RGB_DI_PIN #define RGBLIGHT_EFFECT_BREATHING #define RGBLIGHT_EFFECT_RAINBOW_MOOD #define RGBLIGHT_EFFECT_RAINBOW_SWIRL @@ -23,4 +22,3 @@ #define RGBLIGHT_VAL_STEP 8 #define RGBLIGHT_SLEEP #define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB -#endif -- cgit v1.2.3