Move RGBLIGHT_LED_MAP to data driven (#21095)

This commit is contained in:
Ryan
2023-06-14 22:01:13 +10:00
committed by GitHub
parent 6c4286152f
commit 9551a0a38a
84 changed files with 68 additions and 306 deletions

View File

@@ -33,7 +33,6 @@
#define RGBLIGHT_EFFECT_ALTERNATING
#define RGBLIGHT_EFFECT_TWINKLE
#define RGBLED_NUM 6
#define RGBLIGHT_LED_MAP { 5, 4, 3, 2, 1, 0 }
#define RGBLIGHT_HUE_STEP 8
#define RGBLIGHT_SAT_STEP 8
#define RGBLIGHT_VAL_STEP 8

View File

@@ -18,6 +18,9 @@
{"pin_a": "B6", "pin_b": "B5"}
]
},
"rgblight": {
"led_map": [5, 4, 3, 2, 1, 0]
},
"ws2812": {
"pin": "D3"
},