mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 09:07:36 +08:00
fix posix build
This commit is contained in:
committed by
Lorenz Meier
parent
02b6d25414
commit
90ce04654d
@@ -196,7 +196,7 @@ void Logger::run_trampoline(int argc, char *argv[])
|
||||
|
||||
} else {
|
||||
|
||||
#ifdef DBGPRINT
|
||||
#if defined(DBGPRINT) && defined(__PX4_NUTTX)
|
||||
alloc_info = mallinfo();
|
||||
warnx("remaining free heap: %d bytes", alloc_info.fordblks);
|
||||
#endif /* DBGPRINT */
|
||||
|
||||
Reference in New Issue
Block a user