mirror of
https://gitlab.com/asus-linux/asusctl.git
synced 2026-01-22 17:33:19 +01:00
Revert "Fix: continue -> return in set_config_or_default"
This reverts commit ad051bd7b8.
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user