mirror of
https://github.com/apache/nuttx.git
synced 2026-05-20 04:16:35 +08:00
note_sysview.c: fix compilation if CONFIG_SCHED_INSTRUMENTATION_FILTER not defined
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user