]> git.mxchange.org Git - flightgear.git/commitdiff
Default to ADF (rather than ANT) mode and start with the ADF turned on.
authorcurt <curt>
Tue, 2 Jul 2002 22:39:04 +0000 (22:39 +0000)
committercurt <curt>
Tue, 2 Jul 2002 22:39:04 +0000 (22:39 +0000)
Oops, left in a debugging statement.

src/Cockpit/kr_87.cxx

index 5e74c18c119784cf40c3502e4c87feff8c83b816..102bcb3e4ba59685c476a76dbff604ced138184d 100644 (file)
@@ -77,8 +77,8 @@ FGKR_87::FGKR_87() :
     valid(false),
     freq(0.0),
     stby_freq(0.0),
-    on_off_vol_btn(0.0),
-    adf_btn(false),
+    on_off_vol_btn(0.5),
+    adf_btn(true),
     bfo_btn(false),
     frq_btn(false),
     last_frq_btn(false),
@@ -335,7 +335,8 @@ FGKR_87::update(double dt)
         elapsed_timer = 0.0;
     }
 
-    cout << "goal = " << goal_needle_deg << "actual = " << needle_deg << endl;
+    // cout << "goal = " << goal_needle_deg << "actual = " << needle_deg
+    //      << endl;
     double diff = goal_needle_deg - needle_deg;
     while ( diff < -180.0 ) { diff += 360.0; }
     while ( diff > 180.0 ) { diff -= 360.0; }