From: curt Date: Tue, 15 Feb 2005 18:09:52 +0000 (+0000) Subject: Tweak ... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=cdfb43f94db1baa50774c79928fc84c8836aaf7c;p=flightgear.git Tweak ... --- diff --git a/src/Network/ATC-Outputs.cxx b/src/Network/ATC-Outputs.cxx index 8c7edead3..773d57d82 100644 --- a/src/Network/ATC-Outputs.cxx +++ b/src/Network/ATC-Outputs.cxx @@ -267,6 +267,7 @@ bool FGATCOutput::open( int lock_fd ) { #endif +#ifdef ATCFLIGHTSIM_HAVE_COMPASS ///////////////////////////////////////////////////////////////////// // Home the compass stepper motor ///////////////////////////////////////////////////////////////////// @@ -317,6 +318,7 @@ bool FGATCOutput::open( int lock_fd ) { } compass_position = 0.0; +#endif ///////////////////////////////////////////////////////////////////// // Blank the radio display @@ -930,7 +932,9 @@ bool FGATCOutput::process() { do_lamps(); do_radio_display(); +#ifdef ATCFLIGHTSIM_HAVE_COMPASS do_steppers(); +#endif return true; }