mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Switch zbus led_mode to return AuraModeNum
This commit is contained in:
@@ -417,10 +417,11 @@ impl CtrlKbdLed {
|
||||
let next = self.supported_modes.standard[idx];
|
||||
|
||||
self.config.read();
|
||||
if self.config.builtins.contains_key(&next) {
|
||||
// if self.config.builtins.contains_key(&next) {
|
||||
self.config.current_mode = next;
|
||||
dbg!(self.config.current_mode);
|
||||
self.write_current_config_mode()?;
|
||||
}
|
||||
// }
|
||||
self.config.write();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user