... | ... |
@@ -326,7 +326,8 @@ var APClass = { |
326 | 326 |
updateDisplay: func { |
327 | 327 |
var latmod = latmod_armed = vertmod = vertmod_armed = ""; |
328 | 328 |
var vertmod_target = 0; |
329 |
- var ap_enabled = kap140.lockRollMode.getValue() != kap140.rollModes["OFF"] or kap140.lockPitchMode.getValue() == kap140.pitchModes["OFF"] |
|
329 |
+ var ap_enabled = kap140.lockRollMode.getValue() != kap140.rollModes["OFF"] |
|
330 |
+ or kap140.lockPitchMode.getValue() != kap140.pitchModes["OFF"]; |
|
330 | 331 |
|
331 | 332 |
if (ap_enabled) { |
332 | 333 |
foreach (var mode; keys(kap140.rollModes)) |