Merge pull request #231 from pickledgator/ev_hgt_counter_fix

height counter update for ev primary height source
This commit is contained in:
Paul Riseborough
2017-03-10 14:18:35 +11:00
committed by GitHub
+1 -1
View File
@@ -335,7 +335,7 @@ bool Ekf::initialiseFilter()
}
} else if (_primary_hgt_source == VDIST_SENSOR_EV) {
// do nothing becasue vision data is checked elsewhere
_hgt_counter = _ev_counter;
} else {
return false;
}