]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Demo/ARM9_STR91X_IAR/Library/source/91x_enet.c
Update the demo directory to use the version 8 type naming conventions.
[freertos] / FreeRTOS / Demo / ARM9_STR91X_IAR / Library / source / 91x_enet.c
index 8dc5cae289b4522d76de2bf8796b51d71e7fe627..5c2f310787a945aeaecc26e57a815b6328c858dd 100644 (file)
@@ -400,12 +400,12 @@ void ENET_Init ()
   ENET_MIIWriteReg(0x0,MAC_MII_REG_XCR, 0x8000);\r
 \r
   /* Delay to assure PHY reset */\r
-  vTaskDelay( 3000 / portTICK_RATE_MS );\r
+  vTaskDelay( 3000 / portTICK_PERIOD_MS );\r
 \r
   /* initialize the opearting mode */\r
   while( ENET_SetOperatingMode() == pdFAIL )\r
   {\r
-               vTaskDelay( 3000 / portTICK_RATE_MS );\r
+               vTaskDelay( 3000 / portTICK_PERIOD_MS );\r
   }\r
        \r
   /*set MAC physical*/\r