Remove another unused argument, this time for sfox_wave_gfsk().

This commit is contained in:
Joe Taylor 2024-09-17 15:27:59 -04:00
parent 75c66390ea
commit c826220c01
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
subroutine sfox_wave_gfsk(fname)
subroutine sfox_wave_gfsk()
! Called by WSJT-X when it's time for SuperFox to transmit. Reads array
! itone(1:151) from disk file 'sfox_2.dat' in the writable data directory.
@ -9,7 +9,6 @@ subroutine sfox_wave_gfsk(fname)
parameter (NSYM=151,NSPS=1024*4)
parameter (NPTS=(NSYM+2)*NSPS)
parameter (BT=8)
character*(*) fname
character*40 cmsg2
integer itone(151)
real*8 dt,twopi,f0,phi,dphi_peak

View File

@ -180,7 +180,7 @@ extern "C" {
void foxgen_(bool* bSuperFox, char const * fname, FCL len);
void sfox_wave_gfsk_(char const * fname, FCL len);
void sfox_wave_gfsk_();
void sftx_sub_(char const * otp_key, FCL len1);
@ -11456,6 +11456,5 @@ void MainWindow::sfox_tx() {
}
#endif
sftx_sub_(ckey.toLatin1().constData(), (FCL)ckey.size());
auto fname2 {QDir::toNativeSeparators(m_config.writeable_data_dir().absoluteFilePath("sfox_2.dat")).toLocal8Bit()};
sfox_wave_gfsk_(fname2.constData(), (FCL)fname2.size());
sfox_wave_gfsk_();
}