forked from Archive/PX4-Autopilot
build fix
This commit is contained in:
parent
db0cc845ba
commit
ec8d395a2d
|
@ -97,7 +97,7 @@ int do_airspeed_calibration(int mavlink_fd)
|
||||||
|
|
||||||
/* only warn if analog scaling is zero */
|
/* only warn if analog scaling is zero */
|
||||||
float analog_scaling = 0.0f;
|
float analog_scaling = 0.0f;
|
||||||
param_get(param_find("SENS_DPRES_ANSC"), &(analog_scaling))
|
param_get(param_find("SENS_DPRES_ANSC"), &(analog_scaling));
|
||||||
if (fabsf(analog_scaling) < 0.1f) {
|
if (fabsf(analog_scaling) < 0.1f) {
|
||||||
mavlink_log_critical(mavlink_fd, "If analog sens, retry with [SENS_DPRES_ANSC=1000]");
|
mavlink_log_critical(mavlink_fd, "If analog sens, retry with [SENS_DPRES_ANSC=1000]");
|
||||||
close(diff_pres_sub);
|
close(diff_pres_sub);
|
||||||
|
|
Loading…
Reference in New Issue