mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 16:43:34 +08:00
check CONFIG_TASK_NAME_SIZE for print_load_nuttx
This commit is contained in:
committed by
David Sidrane
parent
92117da3a8
commit
a6adc64569
@@ -48,6 +48,10 @@
|
||||
|
||||
#if defined(CONFIG_SCHED_INSTRUMENTATION)
|
||||
|
||||
#if !defined(CONFIG_TASK_NAME_SIZE)
|
||||
#error print_load_nuttx requires CONFIG_TASK_NAME_SIZE
|
||||
#endif
|
||||
|
||||
extern struct system_load_s system_load;
|
||||
|
||||
#define CL "\033[K" // clear line
|
||||
|
||||
Reference in New Issue
Block a user