mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-24 16:01:53 +08:00
fix posix build
This commit is contained in:
1 parent
02b6d25414
commit
90ce04654d
1 file changed
+1
-1
@@ -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