Fix missing dprintf on QURT

This commit is contained in:
Kabir Mohammed
2016-05-30 13:12:15 +05:30
committed by Julian Oes
parent 4a0d7808a5
commit 977eb2de17
+5
View File
@@ -54,6 +54,11 @@
#include <mach/mach.h>
#endif
#ifdef __PX4_QURT
// dprintf is not available on QURT. Use the usual output to mini-dm.
#define dprintf(_fd, _text, ...) ((_fd) == 1 ? PX4_INFO((_text), ##__VA_ARGS__) : (void)(_fd))
#endif
extern struct system_load_s system_load;
#define CL "\033[K" // clear line