summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c
diff options
context:
space:
mode:
authorrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2014-02-11 12:04:59 +0000
committerrtel <rtel@1d2547de-c912-0410-9cb9-b8ca96c0e9e2>2014-02-11 12:04:59 +0000
commit012a7c9b61ece5aec5c3a98e728e59fdcc9329ae (patch)
tree602a4c29560a57b40068e082bdd770d46aba2b2b /FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c
parent284b2ecc28ff3da5a1bde899ace6304998ca5ec7 (diff)
downloadfreertos-012a7c9b61ece5aec5c3a98e728e59fdcc9329ae.tar.gz
Update the demo directory to use the version 8 type naming conventions.
git-svn-id: http://svn.code.sf.net/p/freertos/code/trunk@2202 1d2547de-c912-0410-9cb9-b8ca96c0e9e2
Diffstat (limited to 'FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c')
-rw-r--r--FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c b/FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c
index 73b148127..5f6f58881 100644
--- a/FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c
+++ b/FreeRTOS/Demo/ARM9_AT91SAM9XE_IAR/main.c
@@ -111,8 +111,8 @@
#define mainGENERIC_QUEUE_PRIORITY ( tskIDLE_PRIORITY )
/* The period of the check task both in and out of the presense of an error. */
-#define mainNO_ERROR_PERIOD ( 5000 / portTICK_RATE_MS )
-#define mainERROR_PERIOD ( 500 / portTICK_RATE_MS );
+#define mainNO_ERROR_PERIOD ( 5000 / portTICK_PERIOD_MS )
+#define mainERROR_PERIOD ( 500 / portTICK_PERIOD_MS );
/* Constants used by the ComTest task. */
#define mainCOM_TEST_BAUD_RATE ( 38400 )
@@ -167,7 +167,7 @@ int main()
static void prvCheckTask( void * pvParameters )
{
-portTickType xNextWakeTime, xPeriod = mainNO_ERROR_PERIOD;
+TickType_t xNextWakeTime, xPeriod = mainNO_ERROR_PERIOD;
static volatile unsigned long ulErrorCode = 0UL;
/* Just to remove the compiler warning. */