Browse Source

fix(docs): Add `#include` to Underglow upgrade notes

xmkb
DoctorNefario 3 years ago committed by GitHub
parent
commit
c7a6836735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      docs/blog/2022-04-02-zephyr-3-0.md

2
docs/blog/2022-04-02-zephyr-3-0.md

@ -74,7 +74,7 @@ The following changes have [already been completed](https://github.com/zmkfirmwa @@ -74,7 +74,7 @@ The following changes have [already been completed](https://github.com/zmkfirmwa
### 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 {

Loading…
Cancel
Save