Correct the use separate files sfox_1.dat and sfox_2.dat.

This commit is contained in:
Joe Taylor 2024-03-05 10:05:13 -05:00
parent a5f68966ab
commit ce08913e3a
2 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,6 @@
program sfox_tx
! Functioins of this program are required in order to create a SuperFox
! transmission.
! This program is required in order to create a SuperFox transmission.
! The present version goes through the following steps:
! 1. Read old-style Fox messages from file 'sfox_1.dat' in the WSJT-X
@ -10,7 +9,7 @@ program sfox_tx
! calls, and the report or RR73 to be sent to each Hound.
! 3. Assemble and encode a single SuperFox message to produce itone(1:151),
! the array of channel symbol values.
! 4. Write the contents of itone to file 'sfox_2.dat'.
! 4. Write the contents of array itone to file 'sfox_2.dat'.
character*120 fname !Full path for sfox.dat
character*120 line !List of SuperFox message pieces

View File

@ -10887,6 +10887,7 @@ void MainWindow::sfox_tx()
auto fname {QDir::toNativeSeparators(m_config.writeable_data_dir().absoluteFilePath("sfox_1.dat")).toLocal8Bit()};
p2.start("sfox_tx", QStringList {fname});
p2.waitForFinished();
sfox_wave_(fname.constData(), (FCL)fname.size());
auto fname2 {QDir::toNativeSeparators(m_config.writeable_data_dir().absoluteFilePath("sfox_2.dat")).toLocal8Bit()};
sfox_wave_(fname2.constData(), (FCL)fname2.size());
// qDebug() << "cc" << QDateTime::currentMSecsSinceEpoch() - ms0;
}