mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
fix posix build
This commit is contained in:
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 */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user