forked from beerpsi/chuniio-yubideck
oops remove stale code
This commit is contained in:
parent
aaf305d9bf
commit
a64ba411d0
@ -316,20 +316,10 @@ pub unsafe extern "C" fn chuni_io_slider_set_leds(rgb: *const u8) {
|
||||
pub extern "C" fn chuni_io_slider_set_leds(_rgb: *const u8) {}
|
||||
|
||||
#[no_mangle]
|
||||
#[cfg(amdaemon)]
|
||||
pub extern "C" fn chuni_io_led_init() -> HRESULT {
|
||||
S_OK
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[cfg(any(chuni, chusanapp))]
|
||||
pub extern "C" fn chuni_io_led_init() -> HRESULT {
|
||||
// If this fails, it is not a failure for the YubiDeck LEDs
|
||||
serial::serial_led_init();
|
||||
|
||||
S_OK
|
||||
}
|
||||
|
||||
#[no_mangle]
|
||||
#[cfg(any(chuni, chusanapp))]
|
||||
pub unsafe extern "C" fn chuni_io_led_set_colors(board: u8, rgb: *const u8) {
|
||||
|
Loading…
Reference in New Issue
Block a user