Fix: continue -> return in set_config_or_default

This commit is contained in:
Denis Benato
2025-11-06 15:07:31 +01:00
parent 90676b390e
commit ad051bd7b8

View File

@@ -582,7 +582,7 @@ pub async fn set_config_or_default(
let tuning = config.select_tunings(power_plugged, profile);
if !tuning.enabled {
debug!("Tuning group is not enabled, skipping");
continue;
return;
}
if let Some(tune) = tuning.group.get(&name) {