From: curt Date: Thu, 28 Aug 2003 20:52:05 +0000 (+0000) Subject: Minor tweak. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c86c81dad073a3dcff1d39704d3c062b88b7d28a;p=flightgear.git Minor tweak. --- 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",