1
0
Fork 0

Vivian MEAZZA:

"Bug fix - ensure all TACAN channels are included"
This commit is contained in:
mfranz 2006-02-05 11:33:08 +00:00
parent f41b0ad951
commit 5bd1ba0d59

View file

@ -371,7 +371,7 @@ TACAN::searchChannel (const string& _channel){
frequency_khz = freq->get_freq(); frequency_khz = freq->get_freq();
SG_LOG( SG_INSTR, SG_DEBUG, "freq output " << frequency_khz ); SG_LOG( SG_INSTR, SG_DEBUG, "freq output " << frequency_khz );
//check sanity //check sanity
if (frequency_khz >9620 && frequency_khz <= 12130) if (frequency_khz >=9620 && frequency_khz <= 12130)
return frequency_khz/100; return frequency_khz/100;
} }
return frequency_khz = 0; return frequency_khz = 0;