diff options
author | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-27 16:54:13 +0000 |
---|---|---|
committer | Giovanni Di Sirio <gdisirio@gmail.com> | 2016-02-27 16:54:13 +0000 |
commit | f7d87c07a344283984c404c38372045c178de4aa (patch) | |
tree | d0f195e49bcb0f5ee39fedf02dfb109842b4a6d0 /os/common/abstractions | |
parent | ad24da68724fb0958f9773c8e7f9586e06194d46 (diff) | |
download | ChibiOS-f7d87c07a344283984c404c38372045c178de4aa.tar.gz ChibiOS-f7d87c07a344283984c404c38372045c178de4aa.tar.bz2 ChibiOS-f7d87c07a344283984c404c38372045c178de4aa.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@8966 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/common/abstractions')
-rw-r--r-- | os/common/abstractions/cmsis_os/cmsis_os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/os/common/abstractions/cmsis_os/cmsis_os.c b/os/common/abstractions/cmsis_os/cmsis_os.c index 04bebeb1d..7449c465f 100644 --- a/os/common/abstractions/cmsis_os/cmsis_os.c +++ b/os/common/abstractions/cmsis_os/cmsis_os.c @@ -137,7 +137,7 @@ osStatus osThreadTerminate(osThreadId thread_id) { implemented using the registry.*/
chThdExit(0);
}
- chEvtSignal((thread_t *)thread_id, CH_EVENT_TERMINATE);
+ chThdTerminate(thread_id);
chThdWait((thread_t *)thread_id);
return osOK;
|