EKF: fix bug in status print statement

This commit is contained in:
Paul Riseborough
2016-04-11 19:40:27 +10:00
parent 74078cde94
commit 006b6b58e4
+1 -3
View File
@@ -184,9 +184,7 @@ void Ekf::controlFusionModes()
_control_status.flags.rng_hgt = false;
// adjust the height offset so we can use the GPS
_hgt_sensor_offset = _state.pos(2) + gps_init.hgt - _gps_alt_ref;
if (!baro_hgt_available) {
printf("EKF baro hgt timeout - switching to gps\n");
}
printf("EKF baro hgt timeout - switching to gps\n");
}
}