Remove contents when SysView is not enabled.

This commit is contained in:
Henry Gabryjelski committed 2020-02-11 14:24:27 -08:00
1 parent 5ed66d27d1
commit 1cb51ff4a4
1 file changed
+4
@@ -52,6 +52,8 @@ Purpose : Interface between FreeRTOS and SystemView.
Revision: $Rev: 7947 $
*/
#if CFG_DEBUG >= 3
#include "FreeRTOS.h"
#include "task.h"
#include "SEGGER_SYSVIEW.h"
@@ -250,4 +252,6 @@ const SEGGER_SYSVIEW_OS_API SYSVIEW_X_OS_TraceAPI = {
_cbSendTaskList,
};
#endif // CFG_DEBUG >= 3
/*************************** End of file ****************************/