aboutsummaryrefslogtreecommitdiffstats
path: root/os/common
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
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')
-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");
}
/** @} */
147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202