On Sunday 12 December 2004 13:18, Melchior FRANZ wrote:
> * Roy Vegard Ovesen -- Sunday 12 December 2004 12:44:
> > Someone might want to commit these patches to CVS.
>
> ... and add some that make DME work again, which does not work at least
> in the 737 and the c310.

There are two <dme> entries in preferences.xml, resulting in two dme branches 
under /instrumentation/ (dme[0] and dme[1]). The serviceable property is only 
set for the second entry (dme[1]), and that one is not connected to the dme 
module. Solution: Remove the first <dme> entry, and set the index explicitly 
to 0 for the remaining <dme> entry.


Index: preferences.xml
===================================================================
RCS file: /var/cvs/FlightGear-0.9/data/preferences.xml,v
retrieving revision 1.164
diff -p -u -r1.164 preferences.xml
--- preferences.xml     4 Dec 2004 21:15:43 -0000       1.164
+++ preferences.xml     12 Dec 2004 12:43:39 -0000
@@ -579,9 +579,6 @@ Started September 2000 by David Megginso
  <instrumentation>

   <!-- Radio settings -->
-  <dme>
-   <switch-position type="int">0</switch-position>
-  </dme>

   <comm n="0">
    <frequencies>
@@ -685,7 +682,7 @@ Started September 2000 by David Megginso
    <serviceable type="bool" archive="y">true</serviceable>
   </magnetic-compass>

-  <dme>
+  <dme n="0">
    <serviceable type="bool" archive="y">true</serviceable>
    <switch-position type="int" archive="y">0</switch-position>
   </dme>





-- 
Roy Vegard Ovesen

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to