check CONFIG_STACK_COLORATION for print_load_nuttx

This commit is contained in:
Christian Rauch
2018-12-21 05:43:21 -08:00
committed by David Sidrane
parent a6adc64569
commit b3018646d5
+4
View File
@@ -52,6 +52,10 @@
#error print_load_nuttx requires CONFIG_TASK_NAME_SIZE
#endif
#if !defined(CONFIG_STACK_COLORATION)
#error print_load_nuttx requires CONFIG_STACK_COLORATION
#endif
extern struct system_load_s system_load;
#define CL "\033[K" // clear line