/* The rate at which mainCHECK_LED will toggle when all the tasks are running\r
without error. Controlled by the check timer as described at the top of this\r
file. */\r
-#define mainNO_ERROR_CHECK_TIMER_PERIOD_MS ( 5000 / portTICK_RATE_MS )\r
+#define mainNO_ERROR_CHECK_TIMER_PERIOD_MS ( 5000 / portTICK_PERIOD_MS )\r
\r
/* The rate at which mainCHECK_LED will toggle when an error has been reported\r
by at least one task. Controlled by the check timer as described at the top of\r
this file. */\r
-#define mainERROR_CHECK_TIMER_PERIOD_MS ( 200 / portTICK_RATE_MS )\r
+#define mainERROR_CHECK_TIMER_PERIOD_MS ( 200 / portTICK_PERIOD_MS )\r
\r
/* A block time of zero simply means "don't block". */\r
#define mainDONT_BLOCK ( 0UL )\r
* it is possible that the stack overflow will have corrupted these - in which\r
* case pxCurrentTCB can be inspected to find the same information.\r
*/\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName );\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName );\r
\r
/*\r
* The reg test tasks as described at the top of this file.\r
/*\r
* The check timer callback function, as described at the top of this file.\r
*/\r
-static void prvCheckTimerCallback( xTimerHandle xTimer );\r
+static void prvCheckTimerCallback( TimerHandle_t xTimer );\r
\r
/*\r
* Contains the implementation of the WEB server.\r
\r
void main(void)\r
{\r
-xTimerHandle xCheckTimer;\r
+TimerHandle_t xCheckTimer;\r
extern void HardwareSetup( void );\r
\r
/* Turn all LEDs off. */\r
}\r
/*-----------------------------------------------------------*/\r
\r
-static void prvCheckTimerCallback( xTimerHandle xTimer )\r
+static void prvCheckTimerCallback( TimerHandle_t xTimer )\r
{\r
static long lChangedTimerPeriodAlready = pdFALSE;\r
static unsigned long ulLastRegTest1CycleCount = 0, ulLastRegTest2CycleCount = 0;\r
\r
/* This function is explained by the comments above its prototype at the top\r
of this file. */\r
-void vApplicationStackOverflowHook( xTaskHandle pxTask, char *pcTaskName )\r
+void vApplicationStackOverflowHook( TaskHandle_t pxTask, char *pcTaskName )\r
{\r
for( ;; );\r
}\r