mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix remove the leftover initial config writes on new() for some controllers
Closes #320
This commit is contained in:
@@ -113,7 +113,7 @@ impl From<&AuraPowerConfig> for AuraPowerDev {
|
||||
}
|
||||
}
|
||||
|
||||
#[derive(Deserialize, Serialize)]
|
||||
#[derive(Deserialize, Serialize, Debug)]
|
||||
// #[serde(default)]
|
||||
pub struct AuraConfig {
|
||||
pub brightness: LedBrightness,
|
||||
@@ -232,7 +232,6 @@ impl AuraConfig {
|
||||
}
|
||||
}
|
||||
}
|
||||
config.write();
|
||||
config
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user