mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	Fix the problem of FST4W transmitting on the FST4 TxFreq after mode switch.
This commit is contained in:
		
							parent
							
								
									a7d5c3b03e
								
							
						
					
					
						commit
						541c1ddea6
					
				@ -4044,6 +4044,7 @@ void MainWindow::guiUpdate()
 | 
				
			|||||||
            float fsample=48000.0;
 | 
					            float fsample=48000.0;
 | 
				
			||||||
            float dfreq=hmod*fsample/nsps;
 | 
					            float dfreq=hmod*fsample/nsps;
 | 
				
			||||||
            float f0=ui->TxFreqSpinBox->value() - m_XIT + 1.5*dfreq;
 | 
					            float f0=ui->TxFreqSpinBox->value() - m_XIT + 1.5*dfreq;
 | 
				
			||||||
 | 
					            if(m_mode=="FST4W") f0=ui->WSPRfreqSpinBox->value() - m_XIT + 1.5*dfreq;
 | 
				
			||||||
            int nwave=(nsym+2)*nsps;
 | 
					            int nwave=(nsym+2)*nsps;
 | 
				
			||||||
            int icmplx=0;
 | 
					            int icmplx=0;
 | 
				
			||||||
            gen_fst4wave_(const_cast<int *>(itone),&nsym,&nsps,&nwave,
 | 
					            gen_fst4wave_(const_cast<int *>(itone),&nsym,&nsps,&nwave,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user