mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-09 05:28:09 +08:00
Use new dataref to compensate for XP12 temperature effect on altitude
This commit is contained in:
@@ -661,6 +661,13 @@ namespace XSwiftBus
|
||||
sendDBusReply(sender, serial, getAltitudeMslM());
|
||||
});
|
||||
}
|
||||
else if (message.getMethodName() == "getPressureAltitudeFt")
|
||||
{
|
||||
queueDBusCall([=]()
|
||||
{
|
||||
sendDBusReply(sender, serial, getPressureAltitudeFt());
|
||||
});
|
||||
}
|
||||
else if (message.getMethodName() == "getHeightAglM")
|
||||
{
|
||||
queueDBusCall([ = ]()
|
||||
|
||||
Reference in New Issue
Block a user