1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

core: Guard pm_set_lowest with module periph_pm

This commit is contained in:
Teufelchen1 2024-03-26 19:40:25 +01:00
parent 741d6b3d4a
commit e3da305ae2

View File

@ -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;