mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-18 10:47:47 -04:00
correct debug output
This commit is contained in:
parent
5e12a70db4
commit
35f3ac32a8
1 changed files with 3 additions and 1 deletions
|
@ -604,8 +604,10 @@ 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? */
|
||||||
#if( ipconfigHAS_PRINTF != 0 ) || ( ipconfigHAS_DEBUG_PRINTF != 0 )
|
#if ( ipconfigHAS_DEBUG_PRINTF != 0 )
|
||||||
FreeRTOS_printf( ( "xNetworkInterfaceOutput failed. Link down?\n" ) );
|
FreeRTOS_printf( ( "xNetworkInterfaceOutput failed. Link down?\n" ) );
|
||||||
|
#else
|
||||||
|
;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue