diff options
author | Richard Barry <ribarry@amazon.com> | 2014-02-11 12:04:59 +0000 |
---|---|---|
committer | Richard Barry <ribarry@amazon.com> | 2014-02-11 12:04:59 +0000 |
commit | 5a2a8fc319e8aba341e80138f78da2ee7bdd5c53 (patch) | |
tree | 602a4c29560a57b40068e082bdd770d46aba2b2b /FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c | |
parent | c6d8892b0da61dd3c43191039ba13838ac4f1820 (diff) | |
download | freertos-git-5a2a8fc319e8aba341e80138f78da2ee7bdd5c53.tar.gz |
Update the demo directory to use the version 8 type naming conventions.
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c')
-rw-r--r-- | FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c b/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c index d5361a8bd..402c7d93a 100644 --- a/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c +++ b/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c @@ -136,7 +136,7 @@ /* The time between cycles of the 'check' functionality (defined within the
tick hook. */
-#define mainCHECK_DELAY ( ( portTickType ) 5000 / portTICK_RATE_MS )
+#define mainCHECK_DELAY ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
/* Task priorities. */
#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 )
@@ -191,7 +191,7 @@ extern void vSetupHighFrequencyTimer( void ); /*-----------------------------------------------------------*/
/* The queue used to send messages to the LCD task. */
-xQueueHandle xLCDQueue;
+QueueHandle_t xLCDQueue;
/*-----------------------------------------------------------*/
@@ -347,7 +347,7 @@ static void prvSetupHardware( void ) }
/*-----------------------------------------------------------*/
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )
{
/* This function will get called if a task overflows its stack. If the
parameters are corrupt then inspect pxCurrentTCB to find which was the
|