Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -32,7 +32,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define RGBLIGHT_EFFECT_RGB_TEST
|
||||
#define RGBLIGHT_EFFECT_ALTERNATING
|
||||
#define RGBLIGHT_EFFECT_TWINKLE
|
||||
#define RGBLED_NUM 20
|
||||
// SPI RGB Driver
|
||||
#define WS2812_SPI SPID2
|
||||
#define WS2812_SPI_MOSI_PAL_MODE 0
|
||||
|
||||
@@ -17,6 +17,9 @@
|
||||
"pin": "A6",
|
||||
"breathing": true
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 20
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B15",
|
||||
"driver": "spi"
|
||||
|
||||
Reference in New Issue
Block a user