mirror of
https://github.com/zmkfirmware/zmk.git
synced 2026-03-20 04:55:20 -05:00
fix(docs): Add #include to Underglow upgrade notes
This commit is contained in:
@@ -74,7 +74,7 @@ The following changes have [already been completed](https://github.com/zmkfirmwa
|
|||||||
|
|
||||||
### RGB Underglow
|
### RGB Underglow
|
||||||
|
|
||||||
Zephyr's WS2812 `led_strip` driver added a new required property. When adding [underglow](/docs/features/underglow#adding-rgb-underglow-to-a-board) to a board, you now must also add a `color-mapping` property, like:
|
Zephyr's WS2812 `led_strip` driver added a new required property. When adding [underglow](/docs/features/underglow#adding-rgb-underglow-to-a-board) to a board, you now must also add the additional include `#include <dt-bindings/led/led.h>` at the top of your devicetree file, and add a `color-mapping` property like:
|
||||||
|
|
||||||
```
|
```
|
||||||
led_strip: ws2812@0 {
|
led_strip: ws2812@0 {
|
||||||
|
|||||||
Reference in New Issue
Block a user