led_on

Function led_on 

Source
pub unsafe extern "C" fn led_on(dev: *const device, led: u32) -> i32
Expand description

@brief Turn on an LED

This routine turns on an LED

LEDs which implements brightness control do not need to implement this, the set_brightness API is used automatically.

@param dev LED device @param led LED number @return 0 on success, negative on error