More verbosity on RC cal fail in sensors app

This commit is contained in:
Lorenz Meier 2013-08-28 11:18:10 +02:00
parent 76a9e34e08
commit 0fb3be64ea
1 changed files with 1 additions and 1 deletions

View File

@ -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;