Don't randomize Hound Tx frequency when in SuperFox mode.

This commit is contained in:
Uwe Risse 2024-05-29 16:00:25 +02:00
parent b4e7e6fcb0
commit 9b2efd1649

View File

@ -4729,7 +4729,7 @@ void MainWindow::guiUpdate()
}
}
}
else if (SpecOp::HOUND == m_specOp) {
else if (SpecOp::HOUND == m_specOp && !m_config.superFox()) {
if(m_auto && !m_tune) {
if (ui->TxFreqSpinBox->value() < 999 && m_ntx != 3) {
// Hound randomized range: 1000-3000 Hz
@ -4740,16 +4740,14 @@ void MainWindow::guiUpdate()
#endif
}
}
if (!m_config.superFox()) {
if (m_nSentFoxRrpt==2 and m_ntx==3) {
// move off the original Fox frequency on subsequent tries of Tx3
int nfreq=m_nFoxFreq + 300;
if(m_nFoxFreq>600) nfreq=m_nFoxFreq - 300; //keep nfreq below 900 Hz
ui->TxFreqSpinBox->setValue(nfreq);
}
if (m_nSentFoxRrpt == 1) {
++m_nSentFoxRrpt;
}
if (m_nSentFoxRrpt==2 and m_ntx==3) {
// move off the original Fox frequency on subsequent tries of Tx3
int nfreq=m_nFoxFreq + 300;
if(m_nFoxFreq>600) nfreq=m_nFoxFreq - 300; //keep nfreq below 900 Hz
ui->TxFreqSpinBox->setValue(nfreq);
}
if (m_nSentFoxRrpt == 1) {
++m_nSentFoxRrpt;
}
}
}