Move RGBLED_NUM to data driven (#21278)

This commit is contained in:
Ryan 2023-06-18 14:39:07 +10:00 committed by GitHub
parent 7178645be7
commit b1783db4ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2160 changed files with 2194 additions and 2058 deletions

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 36
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 36,
"max_brightness": 100,
"split_count": [18, 18]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 42
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 42,
"max_brightness": 100,
"split_count": [21, 21]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 48
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 48,
"max_brightness": 100,
"split_count": [24, 24]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 48
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 48,
"max_brightness": 100,
"split_count": [24, 24]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 56
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 56,
"max_brightness": 100,
"split_count": [28, 28]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 64
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 64,
"max_brightness": 100,
"split_count": [32, 32]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 60
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 60,
"max_brightness": 100,
"split_count": [30, 30]
},

View file

@ -36,7 +36,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 70
#endif
#ifdef RGB_MATRIX_ENABLE
#define RGB_MATRIX_LED_COUNT 70

View file

@ -23,6 +23,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 70,
"max_brightness": 100,
"split_count": [30, 40]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 70
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 70,
"max_brightness": 100,
"split_count": [35, 35]
},

View file

@ -35,7 +35,6 @@
#define RGBLIGHT_EFFECT_RGB_TEST
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 80
#define SELECT_SOFT_SERIAL_SPEED 1
/*Sets the protocol speed when using serial communication*/

View file

@ -20,6 +20,7 @@
"pin": "D3"
},
"rgblight": {
"led_count": 80,
"max_brightness": 100,
"split_count": [40, 40]
},