mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-19 17:48:33 -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
|
@ -137,8 +137,8 @@ baud rate parameters passed into the comtest initialisation has no effect. */
|
|||
the check LED will toggle every mainNO_ERROR_CHECK_DELAY milliseconds. If an
|
||||
error has been found at any time then the toggle rate will increase to
|
||||
mainERROR_CHECK_DELAY milliseconds. */
|
||||
#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 )
|
||||
|
||||
|
||||
/*
|
||||
|
@ -338,7 +338,7 @@ static unsigned long ulLastRegTest1Counter= 0UL, ulLastRegTest2Counter = 0UL;
|
|||
|
||||
static void prvErrorChecks( void *pvParameters )
|
||||
{
|
||||
portTickType xDelayPeriod = mainNO_ERROR_CHECK_DELAY, xLastExecutionTime;
|
||||
TickType_t xDelayPeriod = mainNO_ERROR_CHECK_DELAY, xLastExecutionTime;
|
||||
volatile unsigned portBASE_TYPE uxFreeStack;
|
||||
|
||||
/* Just to remove compiler warning. */
|
||||
|
@ -697,11 +697,11 @@ static void prvRegTestTask2( void *pvParameters )
|
|||
/* This hook function will get called if there is a suspected stack overflow.
|
||||
An overflow can cause the task name to be corrupted, in which case the task
|
||||
handle needs to be used to determine the offending task. */
|
||||
void vApplicationStackOverflowHook( xTaskHandle xTask, signed char *pcTaskName );
|
||||
void vApplicationStackOverflowHook( xTaskHandle xTask, signed char *pcTaskName )
|
||||
void vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName );
|
||||
void vApplicationStackOverflowHook( TaskHandle_t xTask, signed char *pcTaskName )
|
||||
{
|
||||
/* To prevent the optimiser removing the variables. */
|
||||
volatile xTaskHandle xTaskIn = xTask;
|
||||
volatile TaskHandle_t xTaskIn = xTask;
|
||||
volatile signed char *pcTaskNameIn = pcTaskName;
|
||||
|
||||
/* Remove compiler warnings. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue