aboutsummaryrefslogtreecommitdiffstats
path: root/os/common/ports
diff options
context:
space:
mode:
authortfateba <none@example.com>2017-06-10 00:36:12 +0000
committertfateba <none@example.com>2017-06-10 00:36:12 +0000
commit11a53887bc6baa4df68b53aa6dec02e3a6060e38 (patch)
tree6d075245f94d7747a88846ee1d6b825fc4d3f9da /os/common/ports
parent7d7b9a866f2ffb09cf6894dc675c95c88e432744 (diff)
downloadChibiOS-11a53887bc6baa4df68b53aa6dec02e3a6060e38.tar.gz
ChibiOS-11a53887bc6baa4df68b53aa6dec02e3a6060e38.tar.bz2
ChibiOS-11a53887bc6baa4df68b53aa6dec02e3a6060e38.zip
Resolve the linker error message: undefined reference to chThdExit.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10255 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/ports')
-rw-r--r--os/common/ports/AVR/chcore.c2
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");
}
/** @} */