led_off

Function led_off 

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

@brief Turn off an LED

This routine turns off 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