mirror of
https://github.com/RGBCube/superfreq
synced 2025-07-27 17:07:44 +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()
|
||||
);
|
||||
|
||||
// Apply the override governor setting - validation is handled by set_governor
|
||||
cpu::set_governor(override_governor.trim(), None)?;
|
||||
// Apply the override governor setting
|
||||
try_apply_feature("override governor", override_governor.trim(), || {
|
||||
cpu::set_governor(override_governor.trim(), None)
|
||||
})?;
|
||||
}
|
||||
|
||||
let selected_profile_config: &ProfileConfig;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue