Move WS2812_DRIVER to data driven (#20248)

This commit is contained in:
Ryan
2023-03-26 18:22:12 +11:00
committed by GitHub
parent 7e54defa20
commit 36ce81df59
384 changed files with 583 additions and 211 deletions

View File

@@ -13,6 +13,9 @@
"num_lock": "D0",
"scroll_lock": "D6"
},
"ws2812": {
"driver": "i2c"
},
"processor": "atmega32a",
"bootloader": "bootloadhid",
"layouts": {

View File

@@ -13,8 +13,5 @@ AUDIO_SUPPORTED = no
RGBLIGHT_ENABLE = yes # Enable keyboard RGB underglow
CUSTOM_MATRIX = yes
# Needed for underglow
WS2812_DRIVER = i2c
SRC += matrix.c
QUANTUM_LIB_SRC += i2c_master.c