This is the latest (main) BeagleBoard documentation. If you are looking for stable releases, use the drop-down menu on the bottom-left and select the desired version.

Function rc_led_cleanup

Function Documentation

void rc_led_cleanup(void)

closes file descriptors to all opened LEDs

This does NOT turn off the LEDs, it is up to the user to leave the LEDs in the desired state before closing.