git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6803 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
gdisirio 2014-03-22 11:44:00 +00:00
parent d90b1f5b37
commit dfa8eb9c08
1 changed files with 1 additions and 1 deletions

View File

@ -327,7 +327,7 @@ static inline bool chThdTerminatedX(thread_t *tp) {
*/
static inline bool chThdShouldTerminateX(void) {
return (bool)(chThdGetSelfX()->p_flags & CH_FLAG_TERMINATE);
return (bool)((chThdGetSelfX()->p_flags & CH_FLAG_TERMINATE) != 0);
}
/**