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

pm_layered: Use {} for empty while loops

This commit is contained in:
Joakim Nohlgård 2017-10-28 16:05:29 +02:00
parent c68a9f7895
commit 9af2696d2f

View File

@ -88,10 +88,10 @@ void pm_unblock(unsigned mode)
}
#ifndef PROVIDES_PM_LAYERED_OFF
void pm_off(void)
void pm_off(void)
{
pm_blocker.val_u32 = 0;
pm_set_lowest();
while(1);
while(1) {}
}
#endif