Showing 1 changed files with 2 additions and 2 deletions
+2 -2
Nasal/afcs.nas
... ...
@@ -355,8 +355,8 @@ var APClass = {
355 355
                         }
356 356
 
357 357
                     vertmod_target = kap140.settingTargetPressureRate.getValue() * 58000;
358
-                    if (kap140.lockPitchMode.getValue() == pitchModes["VS"]
359
-                    or kap140.lockPitchArm.getValue() == pitchArmModes["VS"])
358
+                    if (kap140.lockPitchMode.getValue() == kap140.pitchModes["VS"]
359
+                    or kap140.lockPitchArm.getValue() == kap140.pitchArmModes["VS"])
360 360
                         vertmod_target = sprintf('%s%4d fpm',
361 361
                                 utf8.chstr(vertmod_target > 0 ? 9650 : 9660),
362 362
                                 math.abs(math.round(vertmod_target, 10)));