Issue #1222: one cannot use <!-- for comments in Nasal files.
This commit is contained in:
parent
b5cc1494c9
commit
5d503e5f38
1 changed files with 1 additions and 1 deletions
|
@ -371,7 +371,7 @@ var CAS = {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
var mach = getprop("/velocities/mach");
|
var mach = getprop("/velocities/mach");
|
||||||
var slip = -getprop("/orientation/side-slip-deg"); <!-- inverted after a change in side-slip sign (bug #901) -->
|
var slip = -getprop("/orientation/side-slip-deg"); # inverted after a change in side-slip sign (bug #901)
|
||||||
var min_speed_threshold = getprop("/controls/flight/fcs/gains/cas/input/anti-side-slip-min-speed");
|
var min_speed_threshold = getprop("/controls/flight/fcs/gains/cas/input/anti-side-slip-min-speed");
|
||||||
if (mach < min_speed_threshold) { # works only if air speed > min_speed_threshold
|
if (mach < min_speed_threshold) { # works only if air speed > min_speed_threshold
|
||||||
slip = 0;
|
slip = 0;
|
||||||
|
|
Loading…
Reference in a new issue