mirror of
https://github.com/FreeRTOS/FreeRTOS.git
synced 2025-06-19 22:57:57 +08:00
correct debug output
This commit is contained in:

committed by
Yuhui Zheng

parent
5e12a70db4
commit
35f3ac32a8
@ -604,8 +604,10 @@ NetworkBufferDescriptor_t *pxNetworkBuffer;
|
||||
if( xNetworkInterfaceOutput( pxNetworkBuffer, pdTRUE ) != pdTRUE )
|
||||
{
|
||||
/* 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" ) );
|
||||
#else
|
||||
;
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user