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),