mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 07:03:33 +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 {
|
} else {
|
||||||
|
|
||||||
#ifdef DBGPRINT
|
#if defined(DBGPRINT) && defined(__PX4_NUTTX)
|
||||||
alloc_info = mallinfo();
|
alloc_info = mallinfo();
|
||||||
warnx("remaining free heap: %d bytes", alloc_info.fordblks);
|
warnx("remaining free heap: %d bytes", alloc_info.fordblks);
|
||||||
#endif /* DBGPRINT */
|
#endif /* DBGPRINT */
|
||||||
|
|||||||
Reference in New Issue
Block a user