mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-28 01:17:45 +00:00
engine: apply governor override via try_apply_feature
This commit is contained in:
parent
b215afc9dd
commit
620dc48be0
1 changed files with 4 additions and 2 deletions
|
@ -51,8 +51,10 @@ pub fn determine_and_apply_settings(
|
||||||
override_governor.trim()
|
override_governor.trim()
|
||||||
);
|
);
|
||||||
|
|
||||||
// Apply the override governor setting - validation is handled by set_governor
|
// Apply the override governor setting
|
||||||
cpu::set_governor(override_governor.trim(), None)?;
|
try_apply_feature("override governor", override_governor.trim(), || {
|
||||||
|
cpu::set_governor(override_governor.trim(), None)
|
||||||
|
})?;
|
||||||
}
|
}
|
||||||
|
|
||||||
let selected_profile_config: &ProfileConfig;
|
let selected_profile_config: &ProfileConfig;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue