forked from mirror/qmk_firmware
Move RGBLIGHT_SPLIT to data driven (#21190)
* Move `RGBLIGHT_SPLIT` to data driven * Remove where `split_count` is already set
This commit is contained in:
@@ -44,8 +44,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
#define RGBLED_NUM 28 // Number of LEDs
|
||||
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
/*
|
||||
* Feature disable options
|
||||
* These options are also useful to firmware size reduction.
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
"pin": "D3"
|
||||
},
|
||||
"rgblight": {
|
||||
"split": true,
|
||||
"max_brightness": 120
|
||||
},
|
||||
"split": {
|
||||
|
||||
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
/* ws2812 RGB LED */
|
||||
#if !defined(RGBLED_NUM)
|
||||
# define RGBLED_NUM 30
|
||||
# define RGBLIGHT_SPLIT
|
||||
# define RGBLIGHT_LAYERS
|
||||
#endif
|
||||
#define RGBLIGHT_EFFECT_BREATHING
|
||||
|
||||
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
#define AUDIO_PIN C6
|
||||
|
||||
|
||||
@@ -30,7 +30,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_CHANNEL 3 // DMA Channel for TIMx_UP, see the respective reference manual for the appropriate values for your MCU.
|
||||
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
#define DEBUG_LED_PIN C13
|
||||
|
||||
|
||||
@@ -33,7 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
#define RGBLED_NUM 57
|
||||
#define RGBLIGHT_SPLIT
|
||||
|
||||
#define DEBUG_LED_PIN C13
|
||||
|
||||
|
||||
@@ -20,7 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
// WS2812 RGB LED strip input and number of LEDs
|
||||
#define RGBLED_NUM 20
|
||||
#define RGBLIGHT_SPLIT
|
||||
#define RGBLIGHT_LIMIT_VAL 80
|
||||
|
||||
#define DEBUG_LED_PIN D6
|
||||
|
||||
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define MASTER_RIGHT
|
||||
|
||||
# define RGBLED_NUM 12
|
||||
# define RGBLIGHT_SPLIT
|
||||
# define RGBLIGHT_HUE_STEP 8
|
||||
# define RGBLIGHT_SAT_STEP 1
|
||||
# define RGBLIGHT_VAL_STEP 1
|
||||
|
||||
Reference in New Issue
Block a user