From 083c5f3ae361368da09c26cde1367e4474b3029c Mon Sep 17 00:00:00 2001 From: gdisirio Date: Sat, 10 Feb 2018 10:20:24 +0000 Subject: MISRA-related fixes. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11471 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/osal/nil/osal.h | 2 +- os/hal/osal/os-less/ARMCMx/osal.h | 2 +- os/hal/osal/rt/osal.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'os/hal/osal') diff --git a/os/hal/osal/nil/osal.h b/os/hal/osal/nil/osal.h index 68dacc4c6..9fd0b4192 100644 --- a/os/hal/osal/nil/osal.h +++ b/os/hal/osal/nil/osal.h @@ -48,7 +48,7 @@ #endif #if !defined(TRUE) || defined(__DOXYGEN__) -#define TRUE (!FALSE) +#define TRUE 1 #endif #define OSAL_SUCCESS false diff --git a/os/hal/osal/os-less/ARMCMx/osal.h b/os/hal/osal/os-less/ARMCMx/osal.h index 891944543..1bf98ab32 100644 --- a/os/hal/osal/os-less/ARMCMx/osal.h +++ b/os/hal/osal/os-less/ARMCMx/osal.h @@ -46,7 +46,7 @@ #endif #if !defined(TRUE) || defined(__DOXYGEN__) -#define TRUE (!FALSE) +#define TRUE 1 #endif #define OSAL_SUCCESS false diff --git a/os/hal/osal/rt/osal.h b/os/hal/osal/rt/osal.h index d0ffa5aed..75dc19c45 100644 --- a/os/hal/osal/rt/osal.h +++ b/os/hal/osal/rt/osal.h @@ -44,7 +44,7 @@ #endif #if !defined(TRUE) || defined(__DOXYGEN__) -#define TRUE (!FALSE) +#define TRUE 1 #endif #define OSAL_SUCCESS false -- cgit v1.2.3