Move RGBLED_SPLIT to data driven (#21113)

Co-authored-by: Joel Challis <git@zvecr.com>
This commit is contained in:
Ryan 2023-06-06 11:08:04 +10:00 committed by GitHub
parent f91ca76c78
commit c9cf9712aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
233 changed files with 309 additions and 191 deletions

View file

@ -33,8 +33,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
# define RGBLIGHT_EFFECT_TWINKLE
# define RGBLED_NUM 54
# define RGBLED_SPLIT \
{ 27, 27 }
#endif
#ifdef RGB_MATRIX_ENABLE

View file

@ -5,6 +5,9 @@
"split": {
"soft_serial_pin": "D2"
},
"rgblight": {
"split_count": [27, 27]
},
"ws2812": {
"pin": "D3"
},

View file

@ -20,8 +20,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#ifdef RGBLIGHT_ENABLE
# define RGBLED_NUM 54 // Number of LEDs
# define RGBLED_SPLIT \
{ 27, 27 }
# define RGBLIGHT_SPLIT
#endif

View file

@ -5,6 +5,9 @@
"split": {
"soft_serial_pin": "D2"
},
"rgblight": {
"split_count": [27, 27]
},
"ws2812": {
"pin": "D3"
},