X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FInstrumentation%2Ftacan.cxx;h=7d372b4d2366140c6baaefc8ddd9fa3daac23636;hb=c1d06064c8eec5f058f031031cde944489a31b40;hp=402b5a59d2e6b20388df400f66d83382adb97a19;hpb=ef52b23e3a1aaf44d1a2283c920a70367960abff;p=flightgear.git 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;