From c826220c01cca817529a4890c3d85304b0a9347a Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 17 Sep 2024 15:27:59 -0400 Subject: [PATCH] Remove another unused argument, this time for sfox_wave_gfsk(). --- lib/superfox/sfox_wave_gfsk.f90 | 3 +-- widgets/mainwindow.cpp | 5 ++--- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/superfox/sfox_wave_gfsk.f90 b/lib/superfox/sfox_wave_gfsk.f90 index 64433001d..b5b75b0a4 100644 --- a/lib/superfox/sfox_wave_gfsk.f90 +++ b/lib/superfox/sfox_wave_gfsk.f90 @@ -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 diff --git a/widgets/mainwindow.cpp b/widgets/mainwindow.cpp index 979a782c6..5eda58779 100644 --- a/widgets/mainwindow.cpp +++ b/widgets/mainwindow.cpp @@ -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_(); }