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:
parent
c68a9f7895
commit
9af2696d2f
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user