Skip to content

Commit

Permalink
Fix MISRA 14.4 - The condition expression 0 does not have an essentia…
Browse files Browse the repository at this point in the history
…lly boolean type
  • Loading branch information
moninom1 committed Dec 5, 2023
1 parent f47e507 commit 8aa068a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/include/FreeRTOSIPConfigDefaults.h
Original file line number Diff line number Diff line change
Expand Up @@ -3066,8 +3066,8 @@
#endif

#ifndef FreeRTOS_debug_printf
#ifdef configPRINTF
#define FreeRTOS_debug_printf( MSG ) if( ipconfigHAS_DEBUG_PRINTF ) { configPRINTF( MSG ); }
#if ( ( ipconfigHAS_DEBUG_PRINTF == 1 ) && defined( configPRINTF ) )
#define FreeRTOS_debug_printf( MSG ) do { configPRINTF( MSG ); } while( ipFALSE_BOOL )
#else
#define FreeRTOS_debug_printf( MSG ) do {} while( ipFALSE_BOOL )
#endif
Expand Down Expand Up @@ -3102,8 +3102,8 @@
#endif

#ifndef FreeRTOS_printf
#ifdef configPRINTF
#define FreeRTOS_printf( MSG ) if( ipconfigHAS_PRINTF ) { configPRINTF( MSG ); }
#if ( ( ipconfigHAS_PRINTF == 1 ) && defined( configPRINTF ) )
#define FreeRTOS_printf( MSG ) do { configPRINTF( MSG ); } while( ipFALSE_BOOL )
#else
#define FreeRTOS_printf( MSG ) do {} while( ipFALSE_BOOL )
#endif
Expand Down

0 comments on commit 8aa068a

Please sign in to comment.