From a7995c2e6117d8cfe2d583ae691d07de65897da6 Mon Sep 17 00:00:00 2001 From: Monika Singh Date: Tue, 5 Dec 2023 16:05:50 +0000 Subject: [PATCH] do {} while update --- source/include/FreeRTOSIPConfigDefaults.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/include/FreeRTOSIPConfigDefaults.h b/source/include/FreeRTOSIPConfigDefaults.h index ad1636b62..bf31dd31f 100644 --- a/source/include/FreeRTOSIPConfigDefaults.h +++ b/source/include/FreeRTOSIPConfigDefaults.h @@ -3066,8 +3066,8 @@ #endif #ifndef FreeRTOS_debug_printf - #if ( ( ipconfigHAS_DEBUG_PRINTF == 1 ) )//&& defined( configPRINTF ) ) - #define FreeRTOS_debug_printf( MSG ) do { configPRINTF( MSG ); } while( ipFALSE_BOOL ) + #if ( ( ipconfigHAS_DEBUG_PRINTF == 1 ) && defined( configPRINTF ) ) + #define FreeRTOS_debug_printf( MSG ) do {} while( ipFALSE_BOOL )//do { configPRINTF( MSG ); } while( ipFALSE_BOOL ) #else #define FreeRTOS_debug_printf( MSG ) do {} while( ipFALSE_BOOL ) #endif @@ -3102,8 +3102,8 @@ #endif #ifndef FreeRTOS_printf - #if ( ( ipconfigHAS_PRINTF == 1 ) )// && defined( configPRINTF ) ) - #define FreeRTOS_printf( MSG ) do { configPRINTF( MSG ); } while( ipFALSE_BOOL ) + #if ( ( ipconfigHAS_PRINTF == 1 ) && defined( configPRINTF ) ) + #define FreeRTOS_printf( MSG ) do {} while( ipFALSE_BOOL )//do { configPRINTF( MSG ); } while( ipFALSE_BOOL ) #else #define FreeRTOS_printf( MSG ) do {} while( ipFALSE_BOOL ) #endif