att pos estimator: Use float constant where it should be float.

This commit is contained in:
Lorenz Meier 2014-10-09 09:23:00 +02:00
parent cfc6c234b8
commit aca9b138b7

View File

@ -1085,7 +1085,7 @@ FixedwingEstimator::task_main()
float baro_elapsed = (_baro.timestamp - baro_last) / 1e6f;
_ekf->updateDtHgtFilt(math::constrain(baro_elapsed, 0.001f, 0.1));
_ekf->updateDtHgtFilt(math::constrain(baro_elapsed, 0.001f, 0.1f));
_ekf->baroHgt = _baro.altitude;