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:
parent
ef152ee411
commit
58f303e464
1 changed files with 3 additions and 1 deletions
|
@ -231,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;
|
||||
|
|
Loading…
Reference in a new issue