cleanup
This commit is contained in:
parent
e17852f679
commit
0dd93d56d6
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
*/
|
||||
|
|
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Add table
Reference in a new issue