From 35a45e50136c48754378976fbb844adeb9f067bc Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 22 Mar 2014 11:43:45 +0000 Subject: [PATCH] Fixed bug #478. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@6801 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/kernel/include/chthreads.h | 4 ++-- readme.txt | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/os/kernel/include/chthreads.h b/os/kernel/include/chthreads.h index 77f72caca..07cdd23ff 100644 --- a/os/kernel/include/chthreads.h +++ b/os/kernel/include/chthreads.h @@ -277,8 +277,8 @@ typedef msg_t (*tfunc_t)(void *); * @brief Verifies if the current thread has a termination request pending. * @note Can be invoked in any context. * - * @retval TRUE termination request pending. - * @retval FALSE termination request not pending. + * @retval 0 termination request not pending. + * @retval !0 termination request pending. * * @special */ diff --git a/readme.txt b/readme.txt index 932d4a0f3..2749b32a6 100644 --- a/readme.txt +++ b/readme.txt @@ -91,6 +91,8 @@ *** 2.7.0 *** - FIX: Fixed problem in STM32 SDADC driver initialization (bug #479) (backported to 2.6.4). +- FIX: Fixed chThdShouldTerminate() documentation incorrect (bug #478) + (backported to 2.6.4). - FIX: Fixed spurious callback in STM32 EXT driver (bug #477)(backported to 2.6.4). - FIX: Fixed several macro errors in STM32L1xx HAL driver (bug #476)