This code was correct (apart from the doubled binding). The problem is
that the --dme option sets the switch position correctly, but the preferences.xml file is read after that and sets the switch back to 1. And then we do *correctly* get nav1. Ideally, we would only let preferences set the switch position if it wasn't set before, but for now lets just comment that out there.
This commit is contained in:
parent
ff83826bfc
commit
a51165f775
1 changed files with 0 additions and 2 deletions
|
@ -414,7 +414,6 @@ all the time in that electrical system.
|
|||
|
||||
<actions>
|
||||
|
||||
<!-- DISABLED: interferes with startup options
|
||||
<action>
|
||||
<name>Setup</name>
|
||||
<binding>
|
||||
|
@ -451,7 +450,6 @@ all the time in that electrical system.
|
|||
<value>/instrumentation/nav[1]/frequencies/selected-mhz</value>
|
||||
</binding>
|
||||
</action>
|
||||
-->
|
||||
|
||||
<action>
|
||||
<name>Rotate knob left</name>
|
||||
|
|
Loading…
Add table
Reference in a new issue