[XP] Get the ground elevation under the own aircraft

This commit is contained in:
Mat Sutcliffe
2022-02-03 20:43:23 +00:00
parent f5a9452ec2
commit 2ccee127e9
8 changed files with 42 additions and 0 deletions

View File

@@ -766,6 +766,13 @@ namespace XSwiftBus
sendDBusReply(sender, serial, getAllWheelsOnGround());
});
}
else if (message.getMethodName() == "getGroundElevation")
{
queueDBusCall([ = ]()
{
sendDBusReply(sender, serial, getGroundElevation());
});
}
else if (message.getMethodName() == "getCom1ActiveKhz")
{
queueDBusCall([ = ]()