FST4* messages do not need padding out to 37 characters

This commit is contained in:
Bill Somerville 2020-08-16 02:34:18 +01:00
parent 65f994ce90
commit 536e6568a6
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
1 changed files with 2 additions and 1 deletions

View File

@ -3294,7 +3294,8 @@ void MainWindow::readFromStdout() //readFromStdout
line_read = line_read.left (64);
}
}
if(m_mode!="FT8" and m_mode!="FT4") {
if (m_mode!="FT8" and m_mode!="FT4"
&& !m_mode.startsWith ("FST4")) {
//Pad 22-char msg to at least 37 chars
line_read = line_read.left(44) + " " + line_read.mid(44);
}