From 98d2e06102ce083680dad253c9f707de81c60d75 Mon Sep 17 00:00:00 2001 From: Monika Singh Date: Thu, 26 Oct 2023 03:29:36 +0000 Subject: [PATCH] Update Hein's comment --- source/include/FreeRTOSIPConfigDefaults.h | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/source/include/FreeRTOSIPConfigDefaults.h b/source/include/FreeRTOSIPConfigDefaults.h index 8164bd755..97a0b0868 100644 --- a/source/include/FreeRTOSIPConfigDefaults.h +++ b/source/include/FreeRTOSIPConfigDefaults.h @@ -923,7 +923,7 @@ * * Type: BaseType_t ( ipconfigENABLE | ipconfigDISABLE ) * - * Set to 1 if you want to receive eNetworkDown notification via vApplicationIPNetworkEventHook() callback. + * Set to 1 if you want to receive eNetworkDown notification via vApplicationIPNetworkEventHook_Multi() callback. * Not all drivers support this feature. */ @@ -2197,8 +2197,16 @@ * * Function Prototype: * + * Function prototype if ipconfigIPv4_BACKWARD_COMPATIBLE is enabled: + * * eDHCPCallbackAnswer_t xApplicationDHCPHook( eDHCPCallbackPhase_t eDHCPPhase, * uint32_t ulIPAddress ) + * + * Function prototype by default: + * + * eDHCPCallbackAnswer_t xApplicationDHCPHook_Multi( eDHCPCallbackPhase_t eDHCPPhase, + * struct xNetworkEndPoint * pxEndPoint, + * IP_Address_t * pxIPAddress ); */ #ifndef ipconfigUSE_DHCP_HOOK @@ -3058,7 +3066,7 @@ #ifdef configPRINTF #define FreeRTOS_debug_printf( MSG ) if( ipconfigHAS_DEBUG_PRINTF ) configPRINTF( MSG ) #else - #define FreeRTOS_debug_printf( MSG ) do {} while( pdFALSE ) + #define FreeRTOS_debug_printf( MSG ) do {} while( ipFALSE_BOOL ) #endif #endif @@ -3094,7 +3102,7 @@ #ifdef configPRINTF #define FreeRTOS_printf( MSG ) if( ipconfigHAS_PRINTF ) configPRINTF( MSG ) #else - #define FreeRTOS_printf( MSG ) do {} while( pdFALSE ) + #define FreeRTOS_printf( MSG ) do {} while( ipFALSE_BOOL ) #endif #endif @@ -3111,7 +3119,7 @@ */ #ifndef FreeRTOS_flush_logging - #define FreeRTOS_flush_logging() if( ipconfigHAS_PRINTF || ipconfigHAS_DEBUG_PRINTF ) do {} while( pdFALSE ) + #define FreeRTOS_flush_logging() if( ipconfigHAS_PRINTF || ipconfigHAS_DEBUG_PRINTF ) do {} while( ipFALSE_BOOL ) #endif /*---------------------------------------------------------------------------*/ @@ -3178,7 +3186,7 @@ */ #ifndef ipconfigWATCHDOG_TIMER - #define ipconfigWATCHDOG_TIMER() do {} while( pdFALSE ) + #define ipconfigWATCHDOG_TIMER() do {} while( ipFALSE_BOOL ) #endif /*---------------------------------------------------------------------------*/