mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-08-11 13:54:16 -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
|
@ -107,11 +107,11 @@
|
|||
|
||||
/* The time between cycles of the 'check' functionality - as described at the
|
||||
top of this file. */
|
||||
#define mainNO_ERROR_PERIOD ( ( portTickType ) 5000 / portTICK_RATE_MS )
|
||||
#define mainNO_ERROR_PERIOD ( ( TickType_t ) 5000 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The rate at which the LED controlled by the 'check' task will flash should an
|
||||
error have been detected. */
|
||||
#define mainERROR_PERIOD ( ( portTickType ) 500 / portTICK_RATE_MS )
|
||||
#define mainERROR_PERIOD ( ( TickType_t ) 500 / portTICK_PERIOD_MS )
|
||||
|
||||
/* The LED controlled by the 'check' task. */
|
||||
#define mainCHECK_LED ( 3 )
|
||||
|
@ -198,7 +198,7 @@ int main( void )
|
|||
static void prvCheckTask( void *pvParameters )
|
||||
{
|
||||
unsigned long ulTicksToWait = mainNO_ERROR_PERIOD, ulError = 0, ulLastRegTest1Count = 0, ulLastRegTest2Count = 0;
|
||||
portTickType xLastExecutionTime;
|
||||
TickType_t xLastExecutionTime;
|
||||
volatile unsigned portBASE_TYPE uxUnusedStack;
|
||||
|
||||
( void ) pvParameters;
|
||||
|
@ -276,7 +276,7 @@ void prvSetupHardware( void )
|
|||
}
|
||||
/*-----------------------------------------------------------*/
|
||||
|
||||
void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed char *pcTaskName )
|
||||
void vApplicationStackOverflowHook( TaskHandle_t *pxTask, signed char *pcTaskName )
|
||||
{
|
||||
/* This will get called if a stack overflow is detected during the context
|
||||
switch. Set configCHECK_FOR_STACK_OVERFLOWS to 2 to also check for stack
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue