aboutsummaryrefslogtreecommitdiff
path: root/src/drivers/px4io/px4io_serial.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/px4io/px4io_serial.cpp')
-rw-r--r--src/drivers/px4io/px4io_serial.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/drivers/px4io/px4io_serial.cpp b/src/drivers/px4io/px4io_serial.cpp
index d227e15d5..928e2dab8 100644
--- a/src/drivers/px4io/px4io_serial.cpp
+++ b/src/drivers/px4io/px4io_serial.cpp
@@ -292,7 +292,7 @@ PX4IO_serial::ioctl(unsigned operation, unsigned &arg)
case 1: /* XXX magic number - test operation */
switch (arg) {
case 0:
- lowsyslog("test 0\n");
+ lowsyslog(LOG_INFO, "test 0\n");
/* kill DMA, this is a PIO test */
stm32_dmastop(_tx_dma);
@@ -316,7 +316,7 @@ PX4IO_serial::ioctl(unsigned operation, unsigned &arg)
fails++;
if (count >= 5000) {
- lowsyslog("==== test 1 : %u failures ====\n", fails);
+ lowsyslog(LOG_INFO, "==== test 1 : %u failures ====\n", fails);
perf_print_counter(_pc_txns);
perf_print_counter(_pc_dmasetup);
perf_print_counter(_pc_retries);
@@ -333,7 +333,7 @@ PX4IO_serial::ioctl(unsigned operation, unsigned &arg)
return 0;
}
case 2:
- lowsyslog("test 2\n");
+ lowsyslog(LOG_INFO, "test 2\n");
return 0;
}
default:
@@ -555,7 +555,7 @@ PX4IO_serial::_wait_complete()
}
/* we might? see this for EINTR */
- lowsyslog("unexpected ret %d/%d\n", ret, errno);
+ lowsyslog(LOG_ERR, "unexpected ret %d/%d\n", ret, errno);
}
/* reset DMA status */