Debugging flag check added

This commit is contained in:
AniruddhaKanhere 2020-04-10 15:44:45 -07:00 committed by Yuhui Zheng
parent 4e8ac8de25
commit 5e12a70db4

View file

@ -604,7 +604,9 @@ NetworkBufferDescriptor_t *pxNetworkBuffer;
if( xNetworkInterfaceOutput( pxNetworkBuffer, pdTRUE ) != pdTRUE ) if( xNetworkInterfaceOutput( pxNetworkBuffer, pdTRUE ) != pdTRUE )
{ {
/* Not sent? Bad news. Maybe link is down? */ /* 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 else