Fix freq sent to PSRreporter for modes with short sequences. Thanks to Sandro, IW3RAB.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7816 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2017-07-08 16:10:23 +00:00
parent 5b92ad5f9d
commit 3d9409dd65

View File

@ -2801,6 +2801,9 @@ void MainWindow::pskPost(DecodedText decodedtext)
QString grid;
decodedtext.deCallAndGrid(/*out*/deCall,grid);
int audioFrequency = decodedtext.frequencyOffset();
if(m_mode=="FT8" or m_mode=="MSK144") {
audioFrequency=decodedtext.string().mid(16,4).toInt();
}
int snr = decodedtext.snr();
Frequency frequency = m_freqNominal + audioFrequency;
pskSetLocal ();