From c86c81dad073a3dcff1d39704d3c062b88b7d28a Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 28 Aug 2003 20:52:05 +0000 Subject: [PATCH] Minor tweak. --- src/Network/atc610x.cxx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Network/atc610x.cxx b/src/Network/atc610x.cxx index 564d1d757..772947348 100644 --- a/src/Network/atc610x.cxx +++ b/src/Network/atc610x.cxx @@ -1246,8 +1246,13 @@ bool FGATC610x::do_radio_switches() { !(radio_switch_data[23] & 0x01) ); fgSetInt( "/radios/kr-87/inputs/bfo-btn", !(radio_switch_data[23] >> 1 & 0x01) ); +#ifdef CURT_HARDWARE fgSetInt( "/radios/kr-87/inputs/frq-btn", !(radio_switch_data[23] >> 2 & 0x01) ); +#else + fgSetInt( "/radios/kr-87/inputs/frq-btn", + (radio_switch_data[23] >> 2 & 0x01) ); +#endif fgSetInt( "/radios/kr-87/inputs/flt-et-btn", !(radio_switch_data[23] >> 3 & 0x01) ); fgSetInt( "/radios/kr-87/inputs/set-rst-btn", -- 2.39.5