summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c')
-rw-r--r--FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c14
1 files changed, 11 insertions, 3 deletions
diff --git a/FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c b/FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c
index ed98eb91f..ad69a329b 100644
--- a/FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c
+++ b/FreeRTOS/Demo/CORTEX_M4_ATSAM4S_Atmel_Studio/src/main.c
@@ -85,7 +85,6 @@
/* Standard demo includes. */
#include "partest.h"
-#include "QueueSet.h"
/* Atmel library includes. */
#include <asf.h>
@@ -181,6 +180,14 @@ void vApplicationIdleHook( void )
important that vApplicationIdleHook() is permitted to return to its calling
function, because it is the responsibility of the idle task to clean up
memory allocated by the kernel to any task that has since been deleted. */
+
+ #if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 )
+ {
+ extern void vFullDemoIdleHook( void );
+
+ vFullDemoIdleHook();
+ }
+ #endif /* mainCREATE_SIMPLE_BLINKY_DEMO_ONLY */
}
/*-----------------------------------------------------------*/
@@ -207,8 +214,9 @@ void vApplicationTickHook( void )
#if ( mainCREATE_SIMPLE_BLINKY_DEMO_ONLY == 0 )
{
- /* In this case the tick hook is used as part of the queue set test. */
- vQueueSetAccessQueueSetFromISR();
+ extern void vFullDemoTickHook( void );
+
+ vFullDemoTickHook();
}
#endif /* mainCREATE_SIMPLE_BLINKY_DEMO_ONLY */
}