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

pkg/openwsn: don't block IDLE mode

This commit is contained in:
Benjamin Valentin 2022-04-21 12:03:34 +02:00
parent 7bad517360
commit 237a44760a

View File

@ -49,8 +49,8 @@ void board_init_openwsn(void)
LOG_DEBUG("[openwsn/board]: init\n");
#ifdef MODULE_PM_LAYERED
/* sleeping is currently not supported, block all sleep modes */
for (uint8_t i = 0; i < PM_NUM_MODES; i++) {
/* sleeping is currently not supported, block all sleep modes except IDLE */
for (uint8_t i = 0; i < PM_NUM_MODES - 1; i++) {
pm_block(i);
}
#endif