mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-27 19:10:34 +08:00
Fix missing dprintf on QURT
This commit is contained in:
committed by
Julian Oes
parent
4a0d7808a5
commit
977eb2de17
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user