note_sysview.c: fix compilation if CONFIG_SCHED_INSTRUMENTATION_FILTER not defined
This commit is contained in:
parent
a984de6098
commit
c4c2c46ebf
1 changed files with 2 additions and 0 deletions
|
|
@ -478,7 +478,9 @@ int sysview_initialize(void)
|
|||
SEGGER_SYSVIEW_SetRAMBase(CONFIG_SEGGER_SYSVIEW_RAM_BASE);
|
||||
#endif
|
||||
|
||||
#ifdef CONFIG_SCHED_INSTRUMENTATION_FILTER
|
||||
if ((g_sysview.mode.flag & NOTE_FILTER_MODE_FLAG_ENABLE) != 0)
|
||||
#endif
|
||||
{
|
||||
SEGGER_SYSVIEW_Start();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue