Move RGBLED_NUM to data driven (#21278)
This commit is contained in:
@@ -28,7 +28,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
#define WS2812_DMA_CHANNEL 3
|
||||
#define WS2812_BYTE_ORDER WS2812_BYTE_ORDER_RGB
|
||||
|
||||
#define RGBLED_NUM 11
|
||||
#define RGBLIGHT_HUE_STEP 8
|
||||
#define RGBLIGHT_SAT_STEP 8
|
||||
#define RGBLIGHT_VAL_STEP 8
|
||||
|
||||
@@ -8,6 +8,9 @@
|
||||
"pid": "0x434D",
|
||||
"device_version": "0.0.1"
|
||||
},
|
||||
"rgblight": {
|
||||
"led_count": 11
|
||||
},
|
||||
"ws2812": {
|
||||
"pin": "B4",
|
||||
"driver": "pwm"
|
||||
|
||||
Reference in New Issue
Block a user