mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-02-06 00:15:04 +01:00
Fix: continue -> return in set_config_or_default
This commit is contained in:
@@ -582,7 +582,7 @@ pub async fn set_config_or_default(
|
|||||||
let tuning = config.select_tunings(power_plugged, profile);
|
let tuning = config.select_tunings(power_plugged, profile);
|
||||||
if !tuning.enabled {
|
if !tuning.enabled {
|
||||||
debug!("Tuning group is not enabled, skipping");
|
debug!("Tuning group is not enabled, skipping");
|
||||||
continue;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(tune) = tuning.group.get(&name) {
|
if let Some(tune) = tuning.group.get(&name) {
|
||||||
|
|||||||
Reference in New Issue
Block a user