diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-11-12 09:02:59 +0100 |
---|---|---|
committer | David Sidrane <david_s5@nscdg.com> | 2015-04-07 06:07:30 -1000 |
commit | e686969a13883e3474b535d2493ebd81bf2e67cb (patch) | |
tree | 6043751a514d6e5490049734b27dc0dc310f1096 | |
parent | f46bede62182722dca40eea638f32d39a0f5141c (diff) | |
download | px4-firmware-e686969a13883e3474b535d2493ebd81bf2e67cb.tar.gz px4-firmware-e686969a13883e3474b535d2493ebd81bf2e67cb.tar.bz2 px4-firmware-e686969a13883e3474b535d2493ebd81bf2e67cb.zip |
PX4IO: Update syslog API
-rw-r--r-- | src/modules/px4iofirmware/px4io.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/px4iofirmware/px4io.c b/src/modules/px4iofirmware/px4io.c index 14ee9cb40..c31342262 100644 --- a/src/modules/px4iofirmware/px4io.c +++ b/src/modules/px4iofirmware/px4io.c @@ -247,7 +247,7 @@ user_start(int argc, char *argv[]) #endif /* print some startup info */ - lowsyslog("\nPX4IO: starting\n"); + lowsyslog(LOG_INFO, "\nPX4IO: starting\n"); /* default all the LEDs to off while we start */ LED_AMBER(false); @@ -292,7 +292,7 @@ user_start(int argc, char *argv[]) perf_counter_t loop_perf = perf_alloc(PC_INTERVAL, "loop"); struct mallinfo minfo = mallinfo(); - lowsyslog("MEM: free %u, largest %u\n", minfo.mxordblk, minfo.fordblks); + lowsyslog(LOG_INFO, "MEM: free %u, largest %u\n", minfo.mxordblk, minfo.fordblks); /* initialize PWM limit lib */ pwm_limit_init(&pwm_limit); @@ -312,7 +312,7 @@ user_start(int argc, char *argv[]) */ if (minfo.mxordblk < 600) { - lowsyslog("ERR: not enough MEM"); + lowsyslog(LOG_ERR, "ERR: not enough MEM"); bool phase = false; while (true) { |