mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 09:23:19 +01:00
fix: make the linter happy again
This commit is contained in:
@@ -196,7 +196,7 @@ impl crate::Reloadable for AsusArmouryAttribute {
|
|||||||
)
|
)
|
||||||
};
|
};
|
||||||
|
|
||||||
apply_value.map_or(AttrValue::None, |tune| AttrValue::Integer(tune))
|
apply_value.map_or(AttrValue::None, AttrValue::Integer)
|
||||||
}
|
}
|
||||||
FirmwareAttributeType::Gpu => {
|
FirmwareAttributeType::Gpu => {
|
||||||
info!("Reload called on GPU attribute {name}: doing nothing");
|
info!("Reload called on GPU attribute {name}: doing nothing");
|
||||||
@@ -429,7 +429,8 @@ impl AsusArmouryAttribute {
|
|||||||
})?;
|
})?;
|
||||||
|
|
||||||
// write config after setting value
|
// write config after setting value
|
||||||
Ok(self.config.lock().await.write())
|
self.config.lock().await.write();
|
||||||
|
Ok(())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user