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:
parent
c33087bdcd
commit
7ad37edb82
@ -88,6 +88,8 @@ void thread_print_stack(void)
|
|||||||
|
|
||||||
NORETURN void reboot(void)
|
NORETURN void reboot(void)
|
||||||
{
|
{
|
||||||
|
while (1) {
|
||||||
arm_reset();
|
arm_reset();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user