mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 01:28:32 -04:00
Update the demo directory to use the version 8 type naming conventions.
This commit is contained in:
parent
c6d8892b0d
commit
5a2a8fc319
639 changed files with 3127 additions and 3470 deletions
|
@ -151,8 +151,8 @@ that all the other tasks are operating without error. If no errors are found
|
|||
the LED is toggled with mainCHECK_PERIOD frequency. If an error is found
|
||||
then the toggle rate increases to mainERROR_CHECK_PERIOD. */
|
||||
#define mainCHECK_TASK_LED ( 7 )
|
||||
#define mainCHECK_PERIOD ( ( portTickType ) 3000 / portTICK_RATE_MS )
|
||||
#define mainERROR_CHECK_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS )
|
||||
#define mainCHECK_PERIOD ( ( TickType_t ) 3000 / portTICK_PERIOD_MS )
|
||||
#define mainERROR_CHECK_PERIOD ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
|
||||
/* LED that is toggled by the button push interrupt. */
|
||||
#define mainBUTTON_PUSH_LED ( 5 )
|
||||
|
@ -206,7 +206,7 @@ portBASE_TYPE xLocalError = pdFALSE;
|
|||
|
||||
/* The queue used to send data from the button push ISR to the Button Push
|
||||
task. */
|
||||
static xQueueHandle xButtonQueue;
|
||||
static QueueHandle_t xButtonQueue;
|
||||
|
||||
|
||||
/*-----------------------------------------------------------*/
|
||||
|
@ -236,8 +236,8 @@ void vMain( void )
|
|||
|
||||
static void vErrorChecks( void *pvParameters )
|
||||
{
|
||||
portTickType xDelayPeriod = mainCHECK_PERIOD;
|
||||
portTickType xLastWakeTime;
|
||||
TickType_t xDelayPeriod = mainCHECK_PERIOD;
|
||||
TickType_t xLastWakeTime;
|
||||
|
||||
/* Initialise xLastWakeTime to ensure the first call to vTaskDelayUntil()
|
||||
functions correctly. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue