mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Try to correct how laptop modes are handled
This commit is contained in:
@@ -151,7 +151,8 @@ impl From<&AuraModes> for [u8; LED_MSG_LEN] {
|
||||
AuraModes::Pulse(_) => msg[3] = 0x0a,
|
||||
AuraModes::Comet(_) => msg[3] = 0x0b,
|
||||
AuraModes::Flash(_) => msg[3] = 0x0c,
|
||||
_ => panic!("Mode not convertable to array"),
|
||||
AuraModes::MultiStatic(_) => msg[3] = 0x0d,
|
||||
_ => print!("Mode not convertable to array: {}", <&str>::from(mode)),
|
||||
}
|
||||
|
||||
match mode {
|
||||
|
||||
Reference in New Issue
Block a user