]> git.mxchange.org Git - flightgear.git/blobdiff - src/Network/fg_serial.cxx
UIUC flight model contribution. This is based on LaRCsim, but can read
[flightgear.git] / src / Network / fg_serial.cxx
index 3c07bb6fb630ba40d7a636418674c0a4328a080f..e1897b59c8920a7417e357325ca478cca798f0b6 100644 (file)
 // $Id$
 
 
-#include <Include/compiler.h>
+#include <simgear/compiler.h>
 
 #include STL_STRING
 
-#include <Debug/logstream.hxx>
+#include <simgear/debug/logstream.hxx>
+#include <simgear/serial/serial.hxx>
+
 #include <Aircraft/aircraft.hxx>
-#include <Serial/serial.hxx>
 
 #include "fg_serial.hxx"
 
@@ -112,7 +113,7 @@ int FGSerial::readline( char *buf, int length ) {
     // copy to external buffer
     strncpy( buf, save_buf, result );
     buf[result] = '\0';
-    cout << "fg_serial line = " << buf << endl;
+    FG_LOG( FG_IO, FG_INFO, "fg_serial line = " << buf );
 
     // shift save buffer
     for ( i = result; i < save_len; ++i ) {