aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLorenz Meier <lm@inf.ethz.ch>2013-09-01 10:30:04 +0200
committerLorenz Meier <lm@inf.ethz.ch>2013-09-01 10:30:04 +0200
commit9eff3170a3aa63d17fbaefd39619866fb745b237 (patch)
treedbe300ac0fae56c969b7b202db48ee6b480f5d56
parentf6bf1c7bf2d83bfc70fb8c4b9f589b25bcccc5e4 (diff)
downloadpx4-firmware-9eff3170a3aa63d17fbaefd39619866fb745b237.tar.gz
px4-firmware-9eff3170a3aa63d17fbaefd39619866fb745b237.tar.bz2
px4-firmware-9eff3170a3aa63d17fbaefd39619866fb745b237.zip
More verbosity on RC check
-rw-r--r--src/modules/systemlib/rc_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/systemlib/rc_check.c b/src/modules/systemlib/rc_check.c
index 9d47d8000..f3a2aee9e 100644
--- a/src/modules/systemlib/rc_check.c
+++ b/src/modules/systemlib/rc_check.c
@@ -112,13 +112,13 @@ int rc_calibration_check(void) {
}
if (param_trim < param_min) {
count++;
- mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM < MIN", i+1);
+ mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM < MIN (%d/%d)", i+1, (int)param_trim, (int)param_min);
/* give system time to flush error message in case there are more */
usleep(100000);
}
if (param_trim > param_max) {
count++;
- mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM > MAX", i+1);
+ mavlink_log_critical(mavlink_fd, "ERR: RC_%d_TRIM > MAX (%d/%d)", i+1, (int)param_trim, (int)param_max);
/* give system time to flush error message in case there are more */
usleep(100000);
}