mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix the broken pipe error
This commit is contained in:
@@ -133,6 +133,7 @@ fn aura_power1(states: &mut SystemState, ui: &mut Ui) {
|
||||
.aura()
|
||||
.set_led_power((options, enable))
|
||||
.map_err(|err| {
|
||||
dbg!(&err);
|
||||
states.error = Some(err.to_string());
|
||||
})
|
||||
.ok();
|
||||
@@ -183,6 +184,7 @@ fn aura_power1(states: &mut SystemState, ui: &mut Ui) {
|
||||
.aura()
|
||||
.set_led_power((options, enable))
|
||||
.map_err(|err| {
|
||||
dbg!(&err);
|
||||
states.error = Some(err.to_string());
|
||||
})
|
||||
.ok();
|
||||
@@ -248,6 +250,7 @@ fn aura_power2(states: &mut SystemState, ui: &mut Ui) {
|
||||
.aura()
|
||||
.set_led_power((options, enable))
|
||||
.map_err(|err| {
|
||||
dbg!(&err);
|
||||
states.error = Some(err.to_string());
|
||||
})
|
||||
.ok();
|
||||
|
||||
Reference in New Issue
Block a user