Merge branch 'next' into 'next'

fixed fan presets for profiles

See merge request asus-linux/asus-nb-ctrl!7
This commit is contained in:
Luke Jones
2020-10-05 00:37:43 +00:00

View File

@@ -61,11 +61,14 @@ impl Config {
config.kbd_backlight_modes.push(AuraModes::from(*n))
}
let profile = Profile::default();
let mut profile = Profile::default();
profile.fan_preset = 0;
profile.turbo = true;
config.power_profiles.insert("normal".into(), profile);
let mut profile = Profile::default();
profile.fan_preset = 1;
profile.turbo = true;
config.power_profiles.insert("boost".into(), profile);
let mut profile = Profile::default();