Browse Source

Fix sim update last measurement

QGC4.4
Lorenz Meier 11 years ago
parent
commit
1c80824e07
  1. 2
      src/comm/QGCXPlaneLink.cc

2
src/comm/QGCXPlaneLink.cc

@ -735,6 +735,8 @@ void QGCXPlaneLink::readBytes() @@ -735,6 +735,8 @@ void QGCXPlaneLink::readBytes()
simUpdateLastText = QGC::groundTimeMilliseconds();
}
simUpdateLast = QGC::groundTimeMilliseconds();
if (_sensorHilEnabled)
{
diff_pressure = (ind_airspeed * ind_airspeed * 1.225f) / 2.0f;

Loading…
Cancel
Save