aboutsummaryrefslogtreecommitdiff
path: root/src/modules/systemlib
diff options
context:
space:
mode:
authorultrasystem <liio@qq.com>2014-05-12 23:08:34 +0800
committerultrasystem <liio@qq.com>2014-05-12 23:08:34 +0800
commitad51b4c24b624c32e31e4b3aad274d59e79f1b20 (patch)
treeb79ee84dee889fda00aa9e7283cee3188a39759f /src/modules/systemlib
parentdb2b85cbd42c17ef581e62c8b2363b6fc37e9617 (diff)
downloadpx4-firmware-ad51b4c24b624c32e31e4b3aad274d59e79f1b20.tar.gz
px4-firmware-ad51b4c24b624c32e31e4b3aad274d59e79f1b20.tar.bz2
px4-firmware-ad51b4c24b624c32e31e4b3aad274d59e79f1b20.zip
Update paramters for warnx()
Diffstat (limited to 'src/modules/systemlib')
-rw-r--r--src/modules/systemlib/rc_check.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/systemlib/rc_check.c b/src/modules/systemlib/rc_check.c
index 975944eb7..c0c1a5cb4 100644
--- a/src/modules/systemlib/rc_check.c
+++ b/src/modules/systemlib/rc_check.c
@@ -140,7 +140,7 @@ int rc_calibration_check(int mavlink_fd) {
/* sanity checks pass, enable channel */
if (count) {
mavlink_log_critical(mavlink_fd, "ERROR: %d config error(s) for RC channel %d.", count, (i + 1));
- warnc(mavlink_fd, "ERROR: %d config error(s) for RC channel %d.", count, (i + 1));
+ warnx("ERROR: %d config error(s) for RC channel %d.", count, (i + 1));
usleep(100000);
}