]> git.mxchange.org Git - flightgear.git/commitdiff
cleanup
authoradrian <adrian@localhost.com>
Thu, 24 Nov 2011 08:19:07 +0000 (10:19 +0200)
committeradrian <adrian@localhost.com>
Thu, 24 Nov 2011 08:19:07 +0000 (10:19 +0200)
src/Radio/radio.cxx
src/Radio/radio.hxx

index 7e9c4cba9e142d3fc50affeb62ec64490ba1b394..6ce93ba6366e8293beb6ba92a7f754926f52f2dc 100644 (file)
@@ -1,4 +1,4 @@
-// commradio.cxx -- implementation of FGCommRadio
+// radio.cxx -- implementation of FGRadio
 // Class to manage radio propagation using the ITM model
 // Written by Adrian Musceac, started August 2011.
 //
@@ -101,11 +101,11 @@ void FGRadio::receiveText(SGGeod tx_pos, double freq, string text,
                        /*
                        string hash_noise = " ";
                        int reps = (int) (fabs(floor(signal - 11.0)) * 2);
-                       cerr << "Reps: " << reps << endl;
+                       //cerr << "Reps: " << reps << endl;
                        int t_size = text.size();
                        for (int n = 1; n <= reps; ++n) {
                                int pos = rand() % (t_size -1);
-                               cerr << "Pos: " << pos << endl;
+                               //cerr << "Pos: " << pos << endl;
                                text.replace(pos,1, hash_noise);
                        }
                        */
index 91d028047f3c1602a9f32e4a0fc29c9e083afef5..4b2b67c85560d50ea95f5416f52e7c63a4eb78d1 100644 (file)
@@ -1,4 +1,4 @@
-// commradio.hxx -- class to manage a comm radio instance
+// radio.hxx -- FGRadio: class to manage radio propagation
 //
 // Written by Adrian Musceac, started August 2011.
 //