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:
parent
9a7790c5e8
commit
ad6ab066ad
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue