drivers: led_strip: ws2812_gpio: Fixup one missed DT_INST conversion
Fixed one case in which the conversion to the new DT_INST macro's got missed in the ws2812_gpio driver. Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
75e28f6de9
commit
3501766231
1 changed files with 1 additions and 1 deletions
|
@ -198,7 +198,7 @@ static const struct led_strip_driver_api ws2812_gpio_api = {
|
|||
*
|
||||
* TODO: try to make this portable, or at least port to more devices.
|
||||
*/
|
||||
#define WS2812_GPIO_CLK(idx) DT_INST_0_NORDIC_NRF_CLOCK_LABEL
|
||||
#define WS2812_GPIO_CLK(idx) DT_LABEL(DT_INST(0, nordic_nrf_clock))
|
||||
|
||||
#define WS2812_GPIO_DEVICE(idx) \
|
||||
\
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue