check CONFIG_SCHED_INSTRUMENTATION for print_load_nuttx

This commit is contained in:
Christian Rauch
2018-12-21 05:43:21 -08:00
committed by David Sidrane
parent fce35ba9d2
commit 8a2e3800d8
3 changed files with 12 additions and 0 deletions
+4
View File
@@ -35,6 +35,10 @@
#include <px4_log.h>
#if defined(__PX4_NUTTX) && !defined(CONFIG_SCHED_INSTRUMENTATION)
# error watchdog support requires CONFIG_SCHED_INSTRUMENTATION
#endif
using namespace time_literals;
namespace px4