mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-09-05 22:03:49 -04:00
Update the RX MDK demo to include the web server. Minor tidy up to the RDK version too.
This commit is contained in:
parent
2fca46e3e4
commit
23ca0009e3
37 changed files with 6883 additions and 391 deletions
|
@ -160,6 +160,13 @@ int16_t phy_set_autonegotiate( void )
|
|||
reg = _phy_read(BASIC_MODE_STATUS_REG);
|
||||
count++;
|
||||
vTaskDelay( 100 / portTICK_RATE_MS );
|
||||
|
||||
/* Make sure we don't break out if reg just contains 0xffff. */
|
||||
if( reg == 0xffff )
|
||||
{
|
||||
reg = 0;
|
||||
}
|
||||
|
||||
} while (!(reg & 0x0020) && (count < PHY_AUTO_NEGOTIATON_WAIT));
|
||||
|
||||
if (count >= PHY_AUTO_NEGOTIATON_WAIT)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue