]> 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 97721034794dae011e397bc770c47597d17360a0..e1897b59c8920a7417e357325ca478cca798f0b6 100644 (file)
@@ -25,8 +25,8 @@
 
 #include STL_STRING
 
-#include <simgear/logstream.hxx>
-#include <simgear/serial.hxx>
+#include <simgear/debug/logstream.hxx>
+#include <simgear/serial/serial.hxx>
 
 #include <Aircraft/aircraft.hxx>
 
@@ -113,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 ) {