X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Fkt_70.cxx;h=99787b71fde2674f9362ec1ebf13e9e3da301fad;hb=5cad5aa7da2476ca8323a61f81dea59676dca085;hp=4286aeafbdec5b205b7ccf6ab7dbfbb12c680979;hpb=1c2c76709e1b85bd0e9805e747177a080345e07f;p=flightgear.git diff --git a/src/Instrumentation/kt_70.cxx b/src/Instrumentation/kt_70.cxx index 4286aeafb..99787b71f 100644 --- a/src/Instrumentation/kt_70.cxx +++ b/src/Instrumentation/kt_70.cxx @@ -16,7 +16,7 @@ // // You should have received a copy of the GNU General Public License // along with this program; if not, write to the Free Software -// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. // // $Id$ @@ -94,6 +94,7 @@ void FGKT_70::init () bus_power = fgGetNode("/systems/electrical/outputs/transponder", true); serviceable_node = (node->getChild("inputs", 0, true)) ->getChild("serviceable", 0, true); + serviceable_node->setBoolValue(true); } @@ -230,13 +231,15 @@ void FGKT_70::update( double dt ) { 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;