ATC: fix issues
This commit is contained in:
parent
04f9b63354
commit
62f7a108bd
3 changed files with 8 additions and 4 deletions
|
@ -148,7 +148,7 @@
|
|||
<offsets>
|
||||
<x-m>-0.01279</x-m>
|
||||
<y-m>0.20</y-m>
|
||||
<z-m>-0.13391</z-m>
|
||||
<z-m>-0.13350</z-m>
|
||||
<heading-deg>90</heading-deg>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
|
@ -173,7 +173,7 @@
|
|||
<offsets>
|
||||
<x-m>-0.01279</x-m>
|
||||
<y-m>0.20</y-m>
|
||||
<z-m>-0.13391</z-m>
|
||||
<z-m>-0.13350</z-m>
|
||||
<heading-deg>90</heading-deg>
|
||||
</offsets>
|
||||
<alignment>left-center</alignment>
|
||||
|
@ -396,7 +396,7 @@
|
|||
</binding>
|
||||
<binding>
|
||||
<command>nasal</command>
|
||||
<script>atc.transponderPanel.modeSwitch(getprop("/controls/atc/mode-knob") - 1);</script>
|
||||
<script>atc.transponderPanel.modeSwitch(getprop("/controls/atc/mode-knob") + 1);</script>
|
||||
</binding>
|
||||
</action>
|
||||
</animation>
|
||||
|
|
|
@ -238,6 +238,10 @@ setlistener("/instrumentation/transponder/id-code", func {
|
|||
}
|
||||
}, 0, 0);
|
||||
|
||||
setlistener("controls/atc/mode-knob", func {
|
||||
|
||||
}, 0, 0);
|
||||
|
||||
var Transponders = std.Vector.new([Transponder.new("/systems/electrical/bus/ac-ess-shed", 1), Transponder.new("/systems/electrical/bus/ac2", 2)]);
|
||||
|
||||
var transponderTimer = maketimer(0.1, func() {
|
||||
|
|
|
@ -1 +1 @@
|
|||
4793
|
||||
4794
|
Reference in a new issue