#include "QPeek.h"\r
#include "recmutex.h"\r
#include "flop.h"\r
+#include "TimerDemo.h"\r
\r
/* Priorities at which the tasks are created. */\r
#define mainCHECK_TASK_PRIORITY ( configMAX_PRIORITIES - 1 )\r
#define mainGEN_QUEUE_TASK_PRIORITY ( tskIDLE_PRIORITY )\r
#define mainFLOP_TASK_PRIORITY ( tskIDLE_PRIORITY )\r
\r
+#define mainTIMER_FREQUENCY ( configTICK_RATE_HZ )\r
+\r
/* Task function prototypes. */\r
static void prvCheckTask( void *pvParameters );\r
\r
vStartQueuePeekTasks();\r
vStartMathTasks( mainFLOP_TASK_PRIORITY );\r
vStartRecursiveMutexTasks();\r
+ vStartTimerDemoTask( mainTIMER_FREQUENCY );\r
\r
/* Start the scheduler itself. */\r
vTaskStartScheduler();\r
vTaskDelayUntil( &xNextWakeTime, xCycleFrequency );\r
\r
/* Check the standard demo tasks are running without error. */\r
- if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
+ if( xAreTimerDemoTasksStillRunning() != pdTRUE )\r
+ {\r
+ pcStatusMessage = "Error: TimerDemo";\r
+ }\r
+ else if( xAreIntegerMathsTaskStillRunning() != pdTRUE )\r
{\r
pcStatusMessage = "Error: IntMath";\r
} \r