]> git.mxchange.org Git - flightgear.git/blobdiff - src/ATC/atcdialog.cxx
properly add librt when clock_gettime is used
[flightgear.git] / src / ATC / atcdialog.cxx
index d2aad836e25e78c93be1381d191f77fb938d160a..e6b3909929cfda1e3086356c52f8e8d668161058 100644 (file)
 //
 // $Id$
 
+#ifdef HAVE_CONFIG_H
+#  include "config.h"
+#endif
+
 #include <Main/fg_commands.hxx>
 #include <Main/globals.hxx>
+#include <Main/fg_props.hxx>
 
 #include <simgear/constants.h>
 #include <simgear/structure/commands.hxx>
@@ -105,10 +110,10 @@ void FGATCDialogNew::PopupDialog() {
 }
 
 void FGATCDialogNew::update(double dt) {
- double onBoardRadioFreq0 =
-        fgGetDouble("/instrumentation/comm[0]/frequencies/selected-mhz");
-    double onBoardRadioFreq1 =
-        fgGetDouble("/instrumentation/comm[1]/frequencies/selected-mhz");
+//  double onBoardRadioFreq0 =
+//      fgGetDouble("/instrumentation/comm[0]/frequencies/selected-mhz");
+//  double onBoardRadioFreq1 =
+//      fgGetDouble("/instrumentation/comm[1]/frequencies/selected-mhz");
 
     const char *dialog_name = "atc-dialog";
     _gui = (NewGUI *)globals->get_subsystem("gui");
@@ -158,4 +163,4 @@ void FGATCDialogNew::update(double dt) {
            // PopupCallback(n);
         cerr << "Selected transmission message" << n << endl;
     } */
-}
\ No newline at end of file
+}