mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-10-17 18:27:47 -04:00
Sync up with Amazon-freertos repo (10th March 2020) (#34)
* Sync up with amazon-freertos * Sync up with amazon-freertos * Sync up with amazon-freertos
This commit is contained in:
parent
0acffef047
commit
ecf0f12aa1
28 changed files with 1645 additions and 7927 deletions
|
@ -305,7 +305,15 @@ static void prvEMACDeferredInterruptHandlerTask( void * pvParameters )
|
|||
if( xBytesReceived < 0 )
|
||||
{
|
||||
/* This is an error. Logged. */
|
||||
FreeRTOS_printf( ( "R_ETHER_Read_ZC2: rc = %d\n", xBytesReceived ) );
|
||||
if( xBytesReceived == ETHER_ERR_LINK )
|
||||
{
|
||||
/* Auto-negotiation is not completed, and transmission/
|
||||
reception is not enabled. Will be logged elsewhere. */
|
||||
}
|
||||
else
|
||||
{
|
||||
FreeRTOS_printf( ( "R_ETHER_Read_ZC2: rc = %d not %d\n", xBytesReceived, ETHER_ERR_LINK ) );
|
||||
}
|
||||
}
|
||||
else if( xBytesReceived > 0 )
|
||||
{
|
||||
|
@ -452,7 +460,6 @@ void prvLinkStatusChange( BaseType_t xStatus )
|
|||
{
|
||||
if( xReportedStatus != xStatus )
|
||||
{
|
||||
FreeRTOS_printf( ( "prvLinkStatusChange( %d )\n", xStatus ) );
|
||||
xReportedStatus = xStatus;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue