nRF Connect SDK API 2.8.99
Loading...
Searching...
No Matches

◆ led_init()

int led_init ( void )

Initialise the LED module.

Note
This will parse the .dts files and configure all LEDs.
Returns
0 on success. -EPERM if already initialized. -ENXIO if a LED is missing unit number in dts. -ENODEV if a LED is missing color identifier.