summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/msp430_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/msp430_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/msp430_IAR/main.c')
-rw-r--r--FreeRTOS/Demo/msp430_IAR/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/msp430_IAR/main.c b/FreeRTOS/Demo/msp430_IAR/main.c
index 0fa135b31..e21553b56 100644
--- a/FreeRTOS/Demo/msp430_IAR/main.c
+++ b/FreeRTOS/Demo/msp430_IAR/main.c
@@ -126,8 +126,8 @@ top of the page. When the system is operating error free the 'Check' task
toggles an LED every three seconds. If an error is discovered in any task the
rate is increased to 500 milliseconds. [in this case the '*' characters on the
LCD represent LED's]*/
-#define mainNO_ERROR_CHECK_DELAY ( ( portTickType ) 3000 / portTICK_RATE_MS )
-#define mainERROR_CHECK_DELAY ( ( portTickType ) 500 / portTICK_RATE_MS )
+#define mainNO_ERROR_CHECK_DELAY ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )
+#define mainERROR_CHECK_DELAY ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
/* The constants used in the calculation. */
#define intgCONST1 ( ( long ) 123 )
@@ -189,7 +189,7 @@ int main( void )
static portTASK_FUNCTION( vErrorChecks, pvParameters )
{
-portTickType xDelayPeriod = mainNO_ERROR_CHECK_DELAY;
+TickType_t xDelayPeriod = mainNO_ERROR_CHECK_DELAY;
/* Cycle for ever, delaying then checking all the other tasks are still
operating without error. */