mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-30 08:51:19 +01:00
Merge pull request #20508 from Teufelchen1/core/guard_pm
core: Guard pm_set_lowest with module_periph_pm
This commit is contained in:
commit
84bf9215b7
@ -93,7 +93,9 @@ static void *idle_thread(void *arg)
|
||||
(void)arg;
|
||||
|
||||
while (1) {
|
||||
pm_set_lowest();
|
||||
if (IS_USED(MODULE_PERIPH_PM)) {
|
||||
pm_set_lowest();
|
||||
}
|
||||
}
|
||||
|
||||
return NULL;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user