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

This commit is contained in:
DoctorNefario 2022-04-15 02:29:09 +10:00 committed by GitHub
parent ebc6275a72
commit c7a6836735
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 {