mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
W9MDB patch to protect Tx5 from being over-written during AutoSeq QSO.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7880 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
a8cba435d4
commit
fe447f9007
@ -2784,7 +2784,7 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
void MainWindow::FT8_AutoSeq(QString message)
|
void MainWindow::FT8_AutoSeq(QString message)
|
||||||
{
|
{
|
||||||
int i1=message.indexOf(m_baseCall);
|
int i1=message.indexOf(m_baseCall);
|
||||||
int i2=message.indexOf(m_hisCall);
|
int i2=message.indexOf(Radio::base_callsign(m_hisCall));
|
||||||
if(i1>10 and i2>i1+3) {
|
if(i1>10 and i2>i1+3) {
|
||||||
if ((message.indexOf (" 73") < 0 || m_ntx != 6)) {
|
if ((message.indexOf (" 73") < 0 || m_ntx != 6)) {
|
||||||
if(ui->cbAutoSeq->isChecked() and !m_sentFirst73) processMessage (message,43,false);
|
if(ui->cbAutoSeq->isChecked() and !m_sentFirst73) processMessage (message,43,false);
|
||||||
@ -3899,7 +3899,10 @@ void MainWindow::genStdMsgs(QString rpt)
|
|||||||
msgtype(t, ui->tx4);
|
msgtype(t, ui->tx4);
|
||||||
t=t0 + "73";
|
t=t0 + "73";
|
||||||
if((m_mode=="JT4" or m_mode=="QRA64") and m_bShMsgs) t="@1750 (73)";
|
if((m_mode=="JT4" or m_mode=="QRA64") and m_bShMsgs) t="@1750 (73)";
|
||||||
msgtype(t, ui->tx5->lineEdit ());
|
if (hisBase != m_lastCallsign) { // only update tx5 when callsign changes
|
||||||
|
msgtype(t, ui->tx5->lineEdit ());
|
||||||
|
m_lastCallsign = hisBase;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if(m_config.my_callsign () != m_baseCall) {
|
if(m_config.my_callsign () != m_baseCall) {
|
||||||
|
@ -334,6 +334,7 @@ private:
|
|||||||
Transceiver::TransceiverState m_rigState;
|
Transceiver::TransceiverState m_rigState;
|
||||||
Frequency m_lastDialFreq;
|
Frequency m_lastDialFreq;
|
||||||
QString m_lastBand;
|
QString m_lastBand;
|
||||||
|
QString m_lastCallsign;
|
||||||
Frequency m_dialFreqRxWSPR; // best guess at WSPR QRG
|
Frequency m_dialFreqRxWSPR; // best guess at WSPR QRG
|
||||||
|
|
||||||
Detector * m_detector;
|
Detector * m_detector;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user