mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Move led_writer to a main loop due to strange mpsc behaviour
This commit is contained in:
@@ -174,13 +174,13 @@ impl LaptopBase {
|
||||
aura_command
|
||||
.send(AuraCommand::BrightInc)
|
||||
.await
|
||||
.unwrap_or_else(|_| {});
|
||||
.unwrap_or_else(|err| warn!("LedBrightUp: {}", err));
|
||||
}
|
||||
GX502Keys::LedBrightDown => {
|
||||
aura_command
|
||||
.send(AuraCommand::BrightDec)
|
||||
.await
|
||||
.unwrap_or_else(|_| {});
|
||||
.unwrap_or_else(|err| warn!("LedBrightDown: {}", err));
|
||||
}
|
||||
GX502Keys::AuraNext => {
|
||||
aura_command
|
||||
|
||||
Reference in New Issue
Block a user