note_sysview.c: fix compilation if CONFIG_SCHED_INSTRUMENTATION_FILTER not defined
This commit is contained in:
parent
a984de6098
commit
c4c2c46ebf
@ -478,7 +478,9 @@ int sysview_initialize(void)
|
|||||||
SEGGER_SYSVIEW_SetRAMBase(CONFIG_SEGGER_SYSVIEW_RAM_BASE);
|
SEGGER_SYSVIEW_SetRAMBase(CONFIG_SEGGER_SYSVIEW_RAM_BASE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef CONFIG_SCHED_INSTRUMENTATION_FILTER
|
||||||
if ((g_sysview.mode.flag & NOTE_FILTER_MODE_FLAG_ENABLE) != 0)
|
if ((g_sysview.mode.flag & NOTE_FILTER_MODE_FLAG_ENABLE) != 0)
|
||||||
|
#endif
|
||||||
{
|
{
|
||||||
SEGGER_SYSVIEW_Start();
|
SEGGER_SYSVIEW_Start();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user