mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 21:40:52 -05:00 
			
		
		
		
	Do not set split Tx frequency when rig changes frequency.
WSJT-X was attempting to set the split Tx frequency when a dial change from the rig is detected. Because of the way some rigs and rig servers report the Tx frequency while the rig is in Tx mode this was causing the rig to "walk" along the band. Setting of split Tx frequency has been limited to WSJT-X initiated instances only. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@4350 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									4a32b0bef6
								
							
						
					
					
						commit
						30b50ff9e2
					
				@ -837,7 +837,9 @@ void MainWindow::bumpFqso(int n)                                 //bumpFqso()
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
void MainWindow::qsy (Frequency f)
 | 
					void MainWindow::qsy (Frequency f)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
  if (m_monitoring || m_transmitting)
 | 
					  if (!m_transmitting)
 | 
				
			||||||
 | 
					    {
 | 
				
			||||||
 | 
					      if (m_monitoring)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          m_lastMonitoredFrequency = f;
 | 
					          m_lastMonitoredFrequency = f;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
@ -845,7 +847,6 @@ void MainWindow::qsy (Frequency f)
 | 
				
			|||||||
      if (m_dialFreq != f)
 | 
					      if (m_dialFreq != f)
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
          m_dialFreq = f;
 | 
					          m_dialFreq = f;
 | 
				
			||||||
      setXIT(ui->TxFreqSpinBox->value ());
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
          m_repeatMsg=0;
 | 
					          m_repeatMsg=0;
 | 
				
			||||||
          m_secBandChanged=QDateTime::currentMSecsSinceEpoch()/1000;
 | 
					          m_secBandChanged=QDateTime::currentMSecsSinceEpoch()/1000;
 | 
				
			||||||
@ -865,6 +866,7 @@ void MainWindow::qsy (Frequency f)
 | 
				
			|||||||
          statusChanged();
 | 
					          statusChanged();
 | 
				
			||||||
          m_wideGraph->setDialFreq(m_dialFreq / 1.e6);
 | 
					          m_wideGraph->setDialFreq(m_dialFreq / 1.e6);
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void MainWindow::displayDialFrequency ()
 | 
					void MainWindow::displayDialFrequency ()
 | 
				
			||||||
@ -2512,6 +2514,7 @@ void MainWindow::band_changed (Frequency f)
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      Q_EMIT m_config.transceiver_frequency (f);
 | 
					      Q_EMIT m_config.transceiver_frequency (f);
 | 
				
			||||||
      qsy (f);
 | 
					      qsy (f);
 | 
				
			||||||
 | 
					      setXIT (ui->TxFreqSpinBox->value ());
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user