1
0
Fork 0

Additional fix for KAP-140 LOC/GS ARM

From Benedikt Hallinger

Ticket-Id: https://sourceforge.net/p/flightgear/codetickets/2476/
This commit is contained in:
James Turner 2020-12-27 13:51:36 +00:00
parent 9a7790c5e8
commit ad6ab066ad

View file

@ -654,10 +654,11 @@ var navArmFromHdg = func
##
lockNavHold.setBoolValue(1);
deviation = getprop(headingNeedleDeflection);
var deviationValid = getprop(navHeadingValid);
##
# If the deflection is more than 3 degrees wait 5 seconds and check again.
##
if (abs(deviation) > 3.0)
if (!deviationValid or abs(deviation) > 3.0)
{
#print("deviation");
settimer(navArmFromHdg, 5);