ITAF Update

This commit is contained in:
Joshua Davidson 2017-04-02 18:32:04 -04:00
parent 55ef57eea3
commit a3ff8a0b4e
3 changed files with 6 additions and 5 deletions

View file

@ -21,7 +21,7 @@ var ap_init = func {
setprop("/it-autoflight/input/lat-arm", 0);
setprop("/it-autoflight/input/vert", 7);
setprop("/it-autoflight/input/prof-arm", 0);
setprop("/it-autoflight/input/bank-limit", 30);
setprop("/it-autoflight/input/bank-limit", getprop("/it-autoflight/settings/default-bank-limit"));
setprop("/it-autoflight/input/trk", 0);
setprop("/it-autoflight/input/toga", 0);
setprop("/it-autoflight/output/ap1", 0);

View file

@ -698,9 +698,11 @@
<pref-width>70</pref-width>
<legend>AUTO</legend>
<binding>
<command>property-assign</command>
<property>/it-autoflight/input/bank-limit</property>
<value>30</value>
<command>nasal</command>
<script>
var dbl = getprop("/it-autoflight/settings/default-bank-limit");
setprop("/it-autoflight/input/bank-limit", dbl);
</script>
</binding>
</button>

View file

@ -224,7 +224,6 @@
</condition>
</enable>
<input>
<property>/controls/flight/throttle-cmd</property>
</input>
<output>