From cdfb43f94db1baa50774c79928fc84c8836aaf7c Mon Sep 17 00:00:00 2001
From: curt <curt>
Date: Tue, 15 Feb 2005 18:09:52 +0000
Subject: [PATCH] Tweak ...

---
 src/Network/ATC-Outputs.cxx | 4 ++++
 1 file changed, 4 insertions(+)

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;
 }