mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-11-03 13:30:52 -05:00 
			
		
		
		
	- Missing line broke start_oss.c on transmit
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@192 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									f788c5cfa7
								
							
						
					
					
						commit
						f67ddfba36
					
				@ -258,7 +258,8 @@ oss_loop(int *iarg)
 | 
				
			|||||||
	*(data.Tsec) = stime;
 | 
						*(data.Tsec) = stime;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
	if(*(data.TxOK) && (!TxOKz))  {
 | 
						if(*(data.TxOK) && (!TxOKz))  {
 | 
				
			||||||
	  n=nsec/(*(data.trperiod));
 | 
						  nsec = (int)stime;
 | 
				
			||||||
 | 
						  n = nsec/(*(data.trperiod));
 | 
				
			||||||
	  ic = (int)(stime - *(data.trperiod)*n) * data.nfs;
 | 
						  ic = (int)(stime - *(data.trperiod)*n) * data.nfs;
 | 
				
			||||||
	  ic = ic % *(data.nwave);
 | 
						  ic = ic % *(data.nwave);
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
@ -266,7 +267,7 @@ oss_loop(int *iarg)
 | 
				
			|||||||
	TxOKz = *(data.TxOK);
 | 
						TxOKz = *(data.TxOK);
 | 
				
			||||||
	*(data.Transmitting) = *(data.TxOK);
 | 
						*(data.Transmitting) = *(data.TxOK);
 | 
				
			||||||
	wptr = (int16_t *)tx_buf;		/* XXX */
 | 
						wptr = (int16_t *)tx_buf;		/* XXX */
 | 
				
			||||||
	if(*(data.TxOK))  {
 | 
						    if(*(data.TxOK))  {
 | 
				
			||||||
	  for(i=0 ; i<FRAMESPERBUFFER; i++ )  {
 | 
						  for(i=0 ; i<FRAMESPERBUFFER; i++ )  {
 | 
				
			||||||
	    n2 = data.iwave[ic];
 | 
						    n2 = data.iwave[ic];
 | 
				
			||||||
	    addnoise_(&n2);
 | 
						    addnoise_(&n2);
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user