mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
Use fixed 1000Hz Tx DF in VHF & up QSO modes
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@6610 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
4350c682ec
commit
38cf525969
@ -4058,7 +4058,7 @@ void MainWindow::band_changed (Frequency f)
|
|||||||
// adjust DF:s
|
// adjust DF:s
|
||||||
int shift = f - m_freqNominal;
|
int shift = f - m_freqNominal;
|
||||||
ui->RxFreqSpinBox->setValue (ui->RxFreqSpinBox->value () - shift);
|
ui->RxFreqSpinBox->setValue (ui->RxFreqSpinBox->value () - shift);
|
||||||
if (!m_mode.startsWith ("JT4")) // JT4 uses fixed 1000Hz Tx DF
|
if (!m_config.enable_VHF_features ()) // for VHF & up we fix the Tx DF
|
||||||
{
|
{
|
||||||
ui->TxFreqSpinBox->setValue (ui->TxFreqSpinBox->value () - shift);
|
ui->TxFreqSpinBox->setValue (ui->TxFreqSpinBox->value () - shift);
|
||||||
}
|
}
|
||||||
@ -4291,8 +4291,8 @@ void MainWindow::setXIT(int n, Frequency base)
|
|||||||
m_XIT = 0;
|
m_XIT = 0;
|
||||||
if (!m_bSimplex) {
|
if (!m_bSimplex) {
|
||||||
// m_bSimplex is false, so we can use split mode if requested
|
// m_bSimplex is false, so we can use split mode if requested
|
||||||
if (m_config.split_mode () && m_mode != "JT4") {
|
if (m_config.split_mode () && !m_config.enable_VHF_features ()) {
|
||||||
// Don't use XIT in JT4, we may be using Doppler control
|
// Don't use XIT for VHF & up
|
||||||
m_XIT=(n/500)*500 - 1500;
|
m_XIT=(n/500)*500 - 1500;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4324,9 +4324,10 @@ void MainWindow::setFreq4(int rxFreq, int txFreq)
|
|||||||
if (ui->TxFreqSpinBox->isEnabled ()) {
|
if (ui->TxFreqSpinBox->isEnabled ()) {
|
||||||
ui->TxFreqSpinBox->setValue(txFreq);
|
ui->TxFreqSpinBox->setValue(txFreq);
|
||||||
}
|
}
|
||||||
else if (m_mode=="JT4"
|
else if (m_config.enable_VHF_features ()
|
||||||
&& m_freqNominal >= 432000000u
|
|
||||||
&& (Qt::ControlModifier & QApplication::keyboardModifiers ())) {
|
&& (Qt::ControlModifier & QApplication::keyboardModifiers ())) {
|
||||||
|
// for VHF & up we adjust Tx dial frequency to equalize Tx to Rx
|
||||||
|
// when user CTRL+clicks on waterfall
|
||||||
auto temp = ui->TxFreqSpinBox->value ();
|
auto temp = ui->TxFreqSpinBox->value ();
|
||||||
m_freqNominal += txFreq - temp;
|
m_freqNominal += txFreq - temp;
|
||||||
m_freqTxNominal += txFreq - temp;
|
m_freqTxNominal += txFreq - temp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user