summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c
diff options
context:
space:
mode:
authorRichard Barry <ribarry@amazon.com>2014-02-11 12:04:59 +0000
committerRichard Barry <ribarry@amazon.com>2014-02-11 12:04:59 +0000
commit5a2a8fc319e8aba341e80138f78da2ee7bdd5c53 (patch)
tree602a4c29560a57b40068e082bdd770d46aba2b2b /FreeRTOS/Demo/CORTEX_STM32F107_GCC_Rowley/main.c
parentc6d8892b0da61dd3c43191039ba13838ac4f1820 (diff)
downloadfreertos-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.c6
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