Skip to content
Snippets Groups Projects
Unverified Commit ef20fe7b authored by Alexandre Abadie's avatar Alexandre Abadie Committed by GitHub
Browse files

Merge pull request #8505 from gebart/pr/pm-layered-while-loop-braces

pm_layered: Use {} for empty while loops
parents e4d699ad 9af2696d
No related branches found
No related tags found
No related merge requests found
...@@ -88,10 +88,10 @@ void pm_unblock(unsigned mode) ...@@ -88,10 +88,10 @@ void pm_unblock(unsigned mode)
} }
#ifndef PROVIDES_PM_LAYERED_OFF #ifndef PROVIDES_PM_LAYERED_OFF
void pm_off(void) void pm_off(void)
{ {
pm_blocker.val_u32 = 0; pm_blocker.val_u32 = 0;
pm_set_lowest(); pm_set_lowest();
while(1); while(1) {}
} }
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment