From 6f07c367ce380cb9b5b9c71207ee4045c201ce67 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 28 Jun 2016 14:56:02 +0000 Subject: [PATCH] Add Tx capability for QRA01. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6811 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- CMakeLists.txt | 1 + mainwindow.cpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c8cab09f1..eeebb1565 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -359,6 +359,7 @@ set (wsjt_FSRCS lib/genmsk.f90 lib/genmsk144.f90 lib/genmsk_short.f90 + lib/genqra65.f90 lib/genwspr.f90 lib/geodist.f90 lib/getlags.f90 diff --git a/mainwindow.cpp b/mainwindow.cpp index 6b8d8a340..ea210a2e5 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -80,6 +80,9 @@ extern "C" { void gen65_(char* msg, int* ichk, char* msgsent, int itone[], int* itext, int len1, int len2); + void genqra65_(char* msg, int* ichk, char* msgsent, int itone[], + int* itext, int len1, int len2); + void genwspr_(char* msg, char* msgsent, int itone[], int len1, int len2); void geniscat_(char* msg, char* msgsent, int itone[], int len1, int len2); @@ -2550,11 +2553,8 @@ void MainWindow::guiUpdate() &m_currentMessageType, len1, len1); if(m_modeTx=="JT65") gen65_(message, &ichk, msgsent, const_cast (itone), &m_currentMessageType, len1, len1); -//### -// To be changed! - if(m_modeTx=="QRA65") gen65_(message, &ichk, msgsent, const_cast (itone), + if(m_modeTx=="QRA65") genqra65_(message, &ichk, msgsent, const_cast (itone), &m_currentMessageType, len1, len1); -//### if(m_mode.startsWith ("WSPR")) genwspr_(message, msgsent, const_cast (itone), len1, len1); if(m_modeTx=="JTMSK") genmsk_(message, &ichk, msgsent, const_cast (itone),