]> git.mxchange.org Git - flightgear.git/commitdiff
Tweak ...
authorcurt <curt>
Tue, 15 Feb 2005 18:09:52 +0000 (18:09 +0000)
committercurt <curt>
Tue, 15 Feb 2005 18:09:52 +0000 (18:09 +0000)
src/Network/ATC-Outputs.cxx

index 8c7edead327d4ca93d83e7aa9c1713ab0d389439..773d57d8265b4e4d8fffed46902a974cc6ae3691 100644 (file)
@@ -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;
 }