summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c')
-rw-r--r--FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c b/FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c
index 8dc5cae28..5c2f31078 100644
--- a/FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c
+++ b/FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c
@@ -400,12 +400,12 @@ void ENET_Init ()
ENET_MIIWriteReg(0x0,MAC_MII_REG_XCR, 0x8000);
/* Delay to assure PHY reset */
- vTaskDelay( 3000 / portTICK_RATE_MS );
+ vTaskDelay( 3000 / portTICK_PERIOD_MS );
/* initialize the opearting mode */
while( ENET_SetOperatingMode() == pdFAIL )
{
- vTaskDelay( 3000 / portTICK_RATE_MS );
+ vTaskDelay( 3000 / portTICK_PERIOD_MS );
}
/*set MAC physical*/