Commit 1c80824e authored by Lorenz Meier's avatar Lorenz Meier

Fix sim update last measurement

parent d7dbdf08
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment