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/TriCore_TC1782_TriBoard_GCC/RTOSDemo/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/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c')
-rw-r--r-- | FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c b/FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c index 3e0590e39..235c9b669 100644 --- a/FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c +++ b/FreeRTOS/Demo/TriCore_TC1782_TriBoard_GCC/RTOSDemo/main.c @@ -164,8 +164,8 @@ /* The rate at which the on board LED will toggle when there is/is not an
error. */
-#define mainNO_ERROR_FLASH_PERIOD_MS ( ( portTickType ) 5000 / portTICK_RATE_MS )
-#define mainERROR_FLASH_PERIOD_MS ( ( portTickType ) 500 / portTICK_RATE_MS )
+#define mainNO_ERROR_FLASH_PERIOD_MS ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
+#define mainERROR_FLASH_PERIOD_MS ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
#define mainON_BOARD_LED_BIT ( ( unsigned long ) 7 )
/* Constant used by the standard timer test functions. The timers created by
@@ -265,8 +265,8 @@ int main( void ) static void prvCheckTask( void *pvParameters )
{
-portTickType xDelayPeriod = mainNO_ERROR_FLASH_PERIOD_MS;
-portTickType xLastExecutionTime;
+TickType_t xDelayPeriod = mainNO_ERROR_FLASH_PERIOD_MS;
+TickType_t xLastExecutionTime;
/* Just to stop compiler warnings. */
( void ) pvParameters;
|