mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-16 09:47:44 -04:00
Debugging flag check added
This commit is contained in:
parent
4e8ac8de25
commit
5e12a70db4
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue