The simply blinky demo is implemented and described in main_blinky.c. The more \r
comprehensive test and demo application is implemented and described in \r
main_full.c. */\r
-#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY 1\r
+#define mainCREATE_SIMPLE_BLINKY_DEMO_ONLY 0\r
\r
/*\r
* main_blinky() is used when mainCREATE_SIMPLE_BLINKY_DEMO_ONLY is set to 1.\r
\r
void vAssertCalled( unsigned long ulLine, const char * const pcFileName )\r
{\r
+static portBASE_TYPE xPrinted = pdFALSE;\r
+\r
/* Parameters are not used. */\r
( void ) ulLine;\r
( void ) pcFileName;\r
taskDISABLE_INTERRUPTS();\r
\r
/* Stop the trace recording. */\r
- if( xTraceRunning == pdTRUE )\r
+ if( xPrinted == pdFALSE )\r
{\r
+ xPrinted = pdTRUE;\r
+ if( xTraceRunning == pdTRUE )\r
+ {\r
vTraceStop();\r
prvSaveTraceFile();\r
+ }\r
}\r
- \r
for( ;; );\r
}\r
/*-----------------------------------------------------------*/\r