]> git.mxchange.org Git - flightgear.git/commitdiff
Remove some old debugging output.
authorcurt <curt>
Mon, 22 Aug 2005 23:47:17 +0000 (23:47 +0000)
committercurt <curt>
Mon, 22 Aug 2005 23:47:17 +0000 (23:47 +0000)
src/FDM/ExternalPipe/ExternalPipe.cxx

index ddb044046a0018f29dc8b7b9a26a520b51b86cda..14a4c830fb7642125eb20ef31928bf50a6371e70 100644 (file)
@@ -151,7 +151,7 @@ static int write_binary( char cmd_type, FILE *pd, char *cmd, int len ) {
         }
         cout << "' (" << cmd << ")" << endl;
     } else if ( cmd_type == '2' ) {
-        cout << "writing controls packet" << endl;
+        // cout << "writing controls packet" << endl;
     } else {
         cout << "writing unknown command?" << endl;
     }
@@ -401,21 +401,21 @@ void FGExternalPipe::update_binary( double dt ) {
     // cout << "iterations = " << iterations << endl;
     ptr += sizeof(int);
     memcpy( ptr, (char *)(&ctrls), length );
-    cout << "writing control structure, size = "
-         << length + sizeof(int) << endl;
+    // cout << "writing control structure, size = "
+    //      << length + sizeof(int) << endl;
 
     result = write_binary( '2', pd1, buf, length + sizeof(int) );
     fflush( pd1 );
 
     // Read fdm values
     length = sizeof(fdm);
-    cout << "about to read fdm data from remote fdm." << endl;
+    // cout << "about to read fdm data from remote fdm." << endl;
     result = fread( (char *)(& fdm), length, 1, pd2 );
     if ( result != 1 ) {
         SG_LOG( SG_IO, SG_ALERT, "Read error from named pipe: "
                 << fifo_name_2 << " expected 1 item, but got " << result );
     } else {
-        cout << "  read successful." << endl;
+        // cout << "  read successful." << endl;
     }
     FGNetFDM2Props( &fdm, false );
 #endif