nRF Connect SDK API 0.1.0
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.