Remove RGB_DI_PIN
ifdefs (#20218)
This commit is contained in:
@@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#endif
|
||||
|
||||
#define RGB_DI_PIN B7
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 6 // Left(4) + Right(2)
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
@@ -69,7 +68,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
// #define RGBLIGHT_EFFECT_RGB_TEST
|
||||
// #define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
@@ -49,7 +49,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#endif
|
||||
|
||||
#define RGB_DI_PIN F0
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 14 // Left(4) + Right(2) + Under(8)
|
||||
#define RGBLIGHT_LED_MAP {0,1,2,3,13,12,4,5,6,7,8,9,10,11} // Left --> Right --> Under
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
@@ -70,7 +69,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
// #define RGBLIGHT_EFFECT_STATIC_GRADIENT
|
||||
// #define RGBLIGHT_EFFECT_RGB_TEST
|
||||
// #define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
|
@@ -26,7 +26,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
/* RGBLIGHT */
|
||||
#define RGB_DI_PIN F1
|
||||
#ifdef RGB_DI_PIN
|
||||
#define RGBLED_NUM 4 // Left(2) + Right(2)
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
@@ -35,7 +34,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/*== Lighting Layers ==*/
|
||||
#define RGBLIGHT_LAYERS
|
||||
#define RGBLIGHT_LAYERS_OVERRIDE_RGB_OFF // Overriding RGB Lighting on/off status
|
||||
#endif
|
||||
|
||||
/* External EEPROM */
|
||||
// Use 24LC64 EEPROM
|
||||
|
@@ -212,7 +212,6 @@ bool encoder_update_user(uint8_t index, bool clockwise) {
|
||||
//------------------------------------------------------------------------------
|
||||
void keyboard_post_init_user(void) {
|
||||
debug_enable=true;
|
||||
#ifdef RGB_DI_PIN
|
||||
#ifdef RGBLIGHT_LAYERS
|
||||
// Enable the LED layers.
|
||||
rgblight_layers = my_rgb_layers;
|
||||
@@ -220,6 +219,5 @@ debug_enable=true;
|
||||
// prevent RGB light overrides layer indicator.
|
||||
layer_state_set(default_layer_state);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user