diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-28 11:18:10 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-08-28 11:18:10 +0200 |
commit | 0fb3be64eace32c9be8a17dab3d1cc3ee0459f9b (patch) | |
tree | 0f28a88c2b1d9bdab3bd60beded07c36377fecee | |
parent | 76a9e34e08573ff67ad34eb0251e3a7bdefd0406 (diff) | |
download | px4-firmware-0fb3be64eace32c9be8a17dab3d1cc3ee0459f9b.tar.gz px4-firmware-0fb3be64eace32c9be8a17dab3d1cc3ee0459f9b.tar.bz2 px4-firmware-0fb3be64eace32c9be8a17dab3d1cc3ee0459f9b.zip |
More verbosity on RC cal fail in sensors app
-rw-r--r-- | src/modules/sensors/sensors.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/sensors/sensors.cpp b/src/modules/sensors/sensors.cpp index e857b1c2f..a9c49c441 100644 --- a/src/modules/sensors/sensors.cpp +++ b/src/modules/sensors/sensors.cpp @@ -673,7 +673,7 @@ Sensors::parameters_update() if (!isfinite(_parameters.scaling_factor[i]) || _parameters.scaling_factor[i] * _parameters.rev[i] < 0.000001f || _parameters.scaling_factor[i] * _parameters.rev[i] > 0.2f) { - + warnx("RC chan %u not sane, scaling: %8.6f, rev: %d", i, _parameters.scaling_factor[i], (int)(_parameters.rev[i])); /* scaling factors do not make sense, lock them down */ _parameters.scaling_factor[i] = 0; rc_valid = false; |