mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 06:43:34 +08:00
Assorted compile fixes.
This commit is contained in:
+2
-2
@@ -73,7 +73,7 @@ int user_start(int argc, char *argv[])
|
||||
hrt_init();
|
||||
|
||||
/* print some startup info */
|
||||
lib_lowprintf("\nPX4IO: starting\n");
|
||||
lowsyslog("\nPX4IO: starting\n");
|
||||
|
||||
/* default all the LEDs to off while we start */
|
||||
LED_AMBER(false);
|
||||
@@ -98,7 +98,7 @@ int user_start(int argc, char *argv[])
|
||||
|
||||
|
||||
struct mallinfo minfo = mallinfo();
|
||||
lib_lowprintf("free %u largest %u\n", minfo.mxordblk, minfo.fordblks);
|
||||
lowsyslog("free %u largest %u\n", minfo.mxordblk, minfo.fordblks);
|
||||
|
||||
/* we're done here, go run the communications loop */
|
||||
comms_main();
|
||||
|
||||
+1
-1
@@ -58,7 +58,7 @@
|
||||
|
||||
#ifdef DEBUG
|
||||
# include <debug.h>
|
||||
# define debug(fmt, args...) lib_lowprintf(fmt "\n", ##args)
|
||||
# define debug(fmt, args...) lowsyslog(fmt "\n", ##args)
|
||||
#else
|
||||
# define debug(fmt, args...) do {} while(0)
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user