This little patch makes the KT-70 read 888-8888 when in self-test mode. This is the correct behavior, the current behavior, where it reads the flight level and squawk code in self-test is incorrect.
Thanks, Ron Index: Instrumentation/kt_70.cxx =================================================================== RCS file: /var/cvs/FlightGear-0.9/source/src/Instrumentation/kt_70.cxx,v retrieving revision 1.3 diff -u -w -r1.3 kt_70.cxx --- Instrumentation/kt_70.cxx 21 Feb 2006 01:19:03 -0000 1.3 +++ Instrumentation/kt_70.cxx 24 Oct 2009 22:29:34 -0000 @@ -231,13 +231,15 @@ if ( func_knob == 1 ) { sby_ann = true; - } else if ( func_knob == 2 ) { + } else if ( func_knob == 2 ) { //selftest fl_ann = true; alt_ann = true; gnd_ann = true; on_ann = true; sby_ann = true; reply_ann = true; + id_code = 8888; + flight_level = 888; } else if ( func_knob == 3 ) { fl_ann = true; gnd_ann = true; ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel