mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-31 09:21:19 +01:00
Merge pull request #8505 from gebart/pr/pm-layered-while-loop-braces
pm_layered: Use {} for empty while loops
This commit is contained in:
commit
ef20fe7bb3
@ -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…
x
Reference in New Issue
Block a user