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:
AniruddhaKanhere 2020-03-11 10:19:48 -07:00 committed by GitHub
parent 0acffef047
commit ecf0f12aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
28 changed files with 1645 additions and 7927 deletions

View file

@ -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;
}
}