mirror of https://github.com/saitohirga/WSJT-X.git
Correct the logic for generating "Type 2: messages in FST240W.
This commit is contained in:
parent
1a82b9b24d
commit
ab2371a96b
|
@ -3864,8 +3864,10 @@ void MainWindow::guiUpdate()
|
||||||
int ichk=0;
|
int ichk=0;
|
||||||
int iwspr=0;
|
int iwspr=0;
|
||||||
char fst240msgbits[101];
|
char fst240msgbits[101];
|
||||||
|
QString wmsg;
|
||||||
if(m_mode=="FST240W") {
|
if(m_mode=="FST240W") {
|
||||||
ba=WSPR_message().toLatin1();
|
wmsg=WSPR_message();
|
||||||
|
ba=wmsg.toLatin1();
|
||||||
ba2msg(ba,message);
|
ba2msg(ba,message);
|
||||||
}
|
}
|
||||||
genfst240_(message,&ichk,msgsent,const_cast<char *> (fst240msgbits),
|
genfst240_(message,&ichk,msgsent,const_cast<char *> (fst240msgbits),
|
||||||
|
@ -9091,7 +9093,8 @@ QString MainWindow::WSPR_message()
|
||||||
} else {
|
} else {
|
||||||
msg1=m_config.my_callsign() + sdBm;
|
msg1=m_config.my_callsign() + sdBm;
|
||||||
}
|
}
|
||||||
msg0="<" + m_config.my_callsign() + "> " + m_config.my_grid()+ sdBm;
|
msg0="<" + m_config.my_callsign() + "> " + m_config.my_grid();
|
||||||
|
if(m_mode=="WSPR") msg0 += sdBm;
|
||||||
if(m_tx==0) msg2=msg0;
|
if(m_tx==0) msg2=msg0;
|
||||||
if(m_tx==1) msg2=msg1;
|
if(m_tx==1) msg2=msg1;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue