From 5bd1ba0d592cb99ad55e8d2d0bcbb177b001e056 Mon Sep 17 00:00:00 2001 From: mfranz Date: Sun, 5 Feb 2006 11:33:08 +0000 Subject: [PATCH] Vivian MEAZZA: "Bug fix - ensure all TACAN channels are included" --- src/Instrumentation/tacan.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Instrumentation/tacan.cxx b/src/Instrumentation/tacan.cxx index 061a6bcfc..18baef938 100755 --- a/src/Instrumentation/tacan.cxx +++ b/src/Instrumentation/tacan.cxx @@ -371,7 +371,7 @@ TACAN::searchChannel (const string& _channel){ frequency_khz = freq->get_freq(); SG_LOG( SG_INSTR, SG_DEBUG, "freq output " << frequency_khz ); //check sanity - if (frequency_khz >9620 && frequency_khz <= 12130) + if (frequency_khz >=9620 && frequency_khz <= 12130) return frequency_khz/100; } return frequency_khz = 0;