diff options
Diffstat (limited to 'apps/px4io')
-rw-r--r-- | apps/px4io/mixer.cpp | 4 | ||||
-rw-r--r-- | apps/px4io/px4io.c | 4 | ||||
-rw-r--r-- | apps/px4io/px4io.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/apps/px4io/mixer.cpp b/apps/px4io/mixer.cpp index c24cb8e52..8e00781a0 100644 --- a/apps/px4io/mixer.cpp +++ b/apps/px4io/mixer.cpp @@ -144,7 +144,7 @@ mixer_tick(void) rc_channel_data[THROTTLE] = 1000; } - // lib_lowprintf("Tmin: %d Ttrim: %d Tmax: %d T: %d \n", + // lowsyslog("Tmin: %d Ttrim: %d Tmax: %d T: %d \n", // (int)(system_state.rc_min[THROTTLE]), (int)(system_state.rc_trim[THROTTLE]), // (int)(system_state.rc_max[THROTTLE]), (int)(rc_channel_data[THROTTLE])); @@ -156,7 +156,7 @@ mixer_tick(void) // XXX builtin failsafe would activate here control_count = 0; } - //lib_lowprintf("R: %d P: %d Y: %d T: %d \n", control_values[0], control_values[1], control_values[2], control_values[3]); + //lowsyslog("R: %d P: %d Y: %d T: %d \n", control_values[0], control_values[1], control_values[2], control_values[3]); /* this is for multicopters, etc. where manual override does not make sense */ } else { diff --git a/apps/px4io/px4io.c b/apps/px4io/px4io.c index bea9d59bc..88342816e 100644 --- a/apps/px4io/px4io.c +++ b/apps/px4io/px4io.c @@ -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(); diff --git a/apps/px4io/px4io.h b/apps/px4io/px4io.h index e388f65e3..3ce6afc31 100644 --- a/apps/px4io/px4io.h +++ b/apps/px4io/px4io.h @@ -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 |