Revert "Fix: continue -> return in set_config_or_default"

This reverts commit ad051bd7b8.
This commit is contained in:
Denis Benato
2025-11-06 22:53:21 +01:00
parent def691f9d0
commit 5e5cebc781

View File

@@ -726,7 +726,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");
return; continue;
} }
// Determine once whether attribute is present and supports a writable range // Determine once whether attribute is present and supports a writable range
let supported = attr.base_path_exists() && !attr_unsupported(attr); let supported = attr.base_path_exists() && !attr_unsupported(attr);