1
0
Fork 0

Ron Jensen:

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.
This commit is contained in:
torsten 2009-10-25 14:45:23 +00:00 committed by Tim Moore
parent ef152ee411
commit 58f303e464

View file

@ -231,13 +231,15 @@ void FGKT_70::update( double dt ) {
if ( func_knob == 1 ) { if ( func_knob == 1 ) {
sby_ann = true; sby_ann = true;
} else if ( func_knob == 2 ) { } else if ( func_knob == 2 ) { // selftest
fl_ann = true; fl_ann = true;
alt_ann = true; alt_ann = true;
gnd_ann = true; gnd_ann = true;
on_ann = true; on_ann = true;
sby_ann = true; sby_ann = true;
reply_ann = true; reply_ann = true;
id_code = 8888;
flight_level = 888;
} else if ( func_knob == 3 ) { } else if ( func_knob == 3 ) {
fl_ann = true; fl_ann = true;
gnd_ann = true; gnd_ann = true;