1
0
Fork 0

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:
Ryan 2023-06-15 22:27:26 +10:00 committed by GitHub
parent c011eb1ead
commit e8ca83a353
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
73 changed files with 25 additions and 67 deletions

View file

@ -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.

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"split": true,
"max_brightness": 120
},
"split": {

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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

View file

@ -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