Skip to content

Commit 26cc247

Browse files
committed
moving ipTRUE_BOOL and ipFALSE_BOOL out of #ifndef pdTRUE_SIGNED check as they are not defined in kernel
1 parent 12256f0 commit 26cc247

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

source/include/FreeRTOS_IP.h

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -282,10 +282,11 @@ uint32_t FreeRTOS_round_down( uint32_t a,
282282
#define pdFALSE_SIGNED pdFALSE
283283
#define pdTRUE_UNSIGNED ( 1U )
284284
#define pdFALSE_UNSIGNED ( 0U )
285-
#define ipTRUE_BOOL ( 1 == 1 )
286-
#define ipFALSE_BOOL ( 1 == 2 )
287285
#endif
288286

287+
#define ipTRUE_BOOL ( 1 == 1 )
288+
#define ipFALSE_BOOL ( 1 == 2 )
289+
289290
/*
290291
* FULL, UP-TO-DATE AND MAINTAINED REFERENCE DOCUMENTATION FOR ALL THESE
291292
* FUNCTIONS IS AVAILABLE ON THE FOLLOWING URL:

0 commit comments

Comments
 (0)