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

cpu/efm32/pm: allow blocking EM1

Aligns pm logic to #17883
This commit is contained in:
Juergen Fitschen 2022-10-19 17:51:12 +02:00
parent b4b8f2bcd3
commit 360b36af16

View File

@ -34,9 +34,12 @@ void pm_set(unsigned mode)
EMU_EnterEM2(true);
break;
case EFM32_PM_MODE_EM1:
default:
/* wait for next event or interrupt */
EMU_EnterEM1();
break;
default:
/* no sleep at all */
break;
}
}