aboutsummaryrefslogtreecommitdiffstats
path: root/os/kernel/src/chthreads.c
diff options
context:
space:
mode:
Diffstat (limited to 'os/kernel/src/chthreads.c')
-rw-r--r--os/kernel/src/chthreads.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/os/kernel/src/chthreads.c b/os/kernel/src/chthreads.c
index bc161ba52..47f53e10d 100644
--- a/os/kernel/src/chthreads.c
+++ b/os/kernel/src/chthreads.c
@@ -280,7 +280,7 @@ thread_t *chThdResume(thread_t *tp) {
* @brief Requests a thread termination.
* @pre The target thread must be written to invoke periodically
* @p chThdShouldTerminate() and terminate cleanly if it returns
- * @p TRUE.
+ * @p true.
* @post The specified thread will terminate after detecting the termination
* condition.
*
@@ -400,7 +400,7 @@ void chThdExitS(msg_t msg) {
#endif
chSchGoSleepS(THD_STATE_FINAL);
/* The thread never returns here.*/
- chDbgAssert(FALSE, "chThdExitS(), #1", "zombies apocalypse");
+ chDbgAssert(false, "chThdExitS(), #1", "zombies apocalypse");
}
#if CH_USE_WAITEXIT || defined(__DOXYGEN__)