Commit d712b105 authored by Lorenz Meier's avatar Lorenz Meier

Hotfix: Make XPlane 9 work in HIL

parent 3248ecca
...@@ -624,7 +624,8 @@ void QGCXPlaneLink::readBytes() ...@@ -624,7 +624,8 @@ void QGCXPlaneLink::readBytes()
fields_changed |= (1 << 0) | (1 << 1) | (1 << 2); fields_changed |= (1 << 0) | (1 << 1) | (1 << 2);
} }
else if (p.index == 6 && xPlaneVersion == 10) // atmospheric pressue aircraft for XPlane 9 and 10
else if (p.index == 6)
{ {
// inHg to hPa (hecto Pascal / millibar) // inHg to hPa (hecto Pascal / millibar)
abs_pressure = p.f[0] * 33.863886666718317f; abs_pressure = p.f[0] * 33.863886666718317f;
......
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