forked from Archive/PX4-Autopilot
More verbosity on RC cal fail in sensors app
This commit is contained in:
parent
76a9e34e08
commit
0fb3be64ea
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue