diff --git a/Aircraft/Generic/kap140.nas b/Aircraft/Generic/kap140.nas index 4cfcfeed1..bd67de3eb 100644 --- a/Aircraft/Generic/kap140.nas +++ b/Aircraft/Generic/kap140.nas @@ -1327,6 +1327,12 @@ var armButton = func { #print("arm button"); # Disable button if too little power if (getprop(power) < minVoltageLimit) { return; } + + # Do nothing if the AP is not turned on + if (lockPitchMode.getValue() == pitchModes["OFF"]) { + lockPitchMode.setIntValue(pitchArmModes["OFF"]); + return; + } var pitchArm = lockPitchArm.getValue();