diff options
author | AniruddhaKanhere <60444055+AniruddhaKanhere@users.noreply.github.com> | 2020-04-10 15:44:45 -0700 |
---|---|---|
committer | Yuhui Zheng <10982575+yuhui-zheng@users.noreply.github.com> | 2020-04-13 14:08:51 -0700 |
commit | 5e12a70db4b6a8e68a434489683306f040252efa (patch) | |
tree | 8083845bac16cb65423e354469530a17b555980f /FreeRTOS-Plus | |
parent | 4e8ac8de25ac4088b9c789b88a77cd39df4d9167 (diff) | |
download | freertos-git-5e12a70db4b6a8e68a434489683306f040252efa.tar.gz |
Debugging flag check added
Diffstat (limited to 'FreeRTOS-Plus')
-rw-r--r-- | FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/FreeRTOS_ARP.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/FreeRTOS_ARP.c b/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/FreeRTOS_ARP.c index 4dd0bfbe7..72d413808 100644 --- a/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/FreeRTOS_ARP.c +++ b/FreeRTOS-Plus/Source/FreeRTOS-Plus-TCP/FreeRTOS_ARP.c @@ -604,7 +604,9 @@ NetworkBufferDescriptor_t *pxNetworkBuffer; if( xNetworkInterfaceOutput( pxNetworkBuffer, pdTRUE ) != pdTRUE ) { /* Not sent? Bad news. Maybe link is down? */ - FreeRTOS_printf( ( "xNetworkInterfaceOutput failed. Link down?\n" ) ); + #if( ipconfigHAS_PRINTF != 0 ) || ( ipconfigHAS_DEBUG_PRINTF != 0 ) + FreeRTOS_printf( ( "xNetworkInterfaceOutput failed. Link down?\n" ) ); + #endif } } else |