diff options
-rw-r--r-- | os/common/ports/AVR/chcore.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/ports/AVR/chcore.c b/os/common/ports/AVR/chcore.c index 8ecb47b00..ca70ccc5f 100644 --- a/os/common/ports/AVR/chcore.c +++ b/os/common/ports/AVR/chcore.c @@ -150,7 +150,7 @@ void _port_thread_start(void) { asm volatile ("movw r24, r4");
asm volatile ("movw r30, r2");
asm volatile ("icall");
- asm volatile ("call chThdExit");
+ asm volatile ("call chSysHalt");
}
/** @} */
|