From: mfranz Date: Mon, 19 Jun 2006 10:00:25 +0000 (+0000) Subject: Vivian MEAZZA: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cd3be41386e39d5621dc160281ca41993101851a;p=flightgear.git Vivian MEAZZA: "Bugfix - a fix to fix the hack which hacked the TACAN Channel/freq pairing." --- diff --git a/src/Instrumentation/tacan.cxx b/src/Instrumentation/tacan.cxx index 402b5a59d..7d372b4d2 100755 --- a/src/Instrumentation/tacan.cxx +++ b/src/Instrumentation/tacan.cxx @@ -510,7 +510,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 <= 121300) return frequency_khz/100; } return frequency_khz = 0;