From a7f6e8bd241e32bd82dd4f0c0b814ed42dfdfd77 Mon Sep 17 00:00:00 2001 From: Cuong Date: Mon, 28 Sep 2020 10:04:57 +0000 Subject: [PATCH] fixed fan presets for profiles --- asus-nb-ctrl/src/config.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/asus-nb-ctrl/src/config.rs b/asus-nb-ctrl/src/config.rs index 7b0d690e..3507eea3 100644 --- a/asus-nb-ctrl/src/config.rs +++ b/asus-nb-ctrl/src/config.rs @@ -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();