mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-20 10:08:33 -04:00
Update the demo directory to use the version 8 type naming conventions.
This commit is contained in:
parent
c6d8892b0d
commit
5a2a8fc319
639 changed files with 3127 additions and 3470 deletions
|
@ -98,7 +98,7 @@ short phy_init( void )
|
|||
|
||||
do
|
||||
{
|
||||
vTaskDelay( 2 / portTICK_RATE_MS );
|
||||
vTaskDelay( 2 / portTICK_PERIOD_MS );
|
||||
reg = _phy_read(BASIC_MODE_CONTROL_REG);
|
||||
count++;
|
||||
} while (reg & 0x8000 && count < PHY_RESET_WAIT);
|
||||
|
@ -159,7 +159,7 @@ short phy_set_autonegotiate( void )
|
|||
{
|
||||
reg = _phy_read(BASIC_MODE_STATUS_REG);
|
||||
count++;
|
||||
vTaskDelay( 100 / portTICK_RATE_MS );
|
||||
vTaskDelay( 100 / portTICK_PERIOD_MS );
|
||||
|
||||
/* Make sure we don't break out if reg just contains 0xffff. */
|
||||
if( reg == 0xffff )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue