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

Added while(1) to ensure GCC valids NORETURN; fixed indentation

This commit is contained in:
Kévin Roussel 2014-02-14 12:13:10 +01:00
parent c33087bdcd
commit 7ad37edb82
2 changed files with 8 additions and 6 deletions

View File

@ -88,6 +88,8 @@ void thread_print_stack(void)
NORETURN void reboot(void) NORETURN void reboot(void)
{ {
while (1) {
arm_reset(); arm_reset();
}
} }