mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-30 20:40:28 -04:00 
			
		
		
		
	Correct a constant in badmsg; correct nfreq when sync fails.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7372 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									f78714707d
								
							
						
					
					
						commit
						f833825d16
					
				| @ -20,7 +20,7 @@ subroutine badmsg(irc,dat,nc1,nc2,ng2) | |||||||
|   ig=ishft(iand(dat(10),15),12) + ishft(dat(11),6) + dat(12) |   ig=ishft(iand(dat(10),15),12) + ishft(dat(11),6) + dat(12) | ||||||
|    |    | ||||||
| ! Test for blank, -01 to -30, R-01 to R-30, RO, RRR, 73 | ! Test for blank, -01 to -30, R-01 to R-30, RO, RRR, 73 | ||||||
|   if(ig.ge.32401 .and. ig.le.32461) return |   if(ig.ge.32401 .and. ig.le.32464) return | ||||||
| 
 | 
 | ||||||
|   if(ig.ge.14220 .and. ig.le.14229) return  !-41 to -50 |   if(ig.ge.14220 .and. ig.le.14229) return  !-41 to -50 | ||||||
|   if(ig.ge.14040 .and. ig.le.14049) return  !-31 to -40 |   if(ig.ge.14040 .and. ig.le.14049) return  !-31 to -40 | ||||||
|  | |||||||
| @ -62,10 +62,10 @@ subroutine qra64a(dd,npts,nutc,nf1,nf2,nfqso,ntol,mode64,minsync,ndepth,   & | |||||||
|   call timer('sync64  ',0) |   call timer('sync64  ',0) | ||||||
|   call sync64(dd,npts,nf1,nf2,nfqso,ntol,mode64,maxf1,dtx,f0,jpk0,kpk,sync,c00) |   call sync64(dd,npts,nf1,nf2,nfqso,ntol,mode64,maxf1,dtx,f0,jpk0,kpk,sync,c00) | ||||||
|   call timer('sync64  ',1) |   call timer('sync64  ',1) | ||||||
|  |   nfreq=nint(f0) | ||||||
|   if((sync-3.4).lt.float(minsync)) go to 900 |   if((sync-3.4).lt.float(minsync)) go to 900 | ||||||
|   a=0. |   a=0. | ||||||
|   a(1)=-f0 |   a(1)=-f0 | ||||||
|   nfreq=nint(f0) |  | ||||||
|   npts2=npts/2 |   npts2=npts/2 | ||||||
|   call twkfreq(c00,c0,npts2,6000.0,a) |   call twkfreq(c00,c0,npts2,6000.0,a) | ||||||
| 
 | 
 | ||||||
| @ -96,7 +96,6 @@ subroutine qra64a(dd,npts,nutc,nf1,nf2,nfqso,ntol,mode64,minsync,ndepth,   & | |||||||
|         call qra64_dec(s3,nc1,nc2,ng2,naptype,0,nSubmode,b90,      & |         call qra64_dec(s3,nc1,nc2,ng2,naptype,0,nSubmode,b90,      & | ||||||
|              nFadingModel,dat4,snr2,irc) |              nFadingModel,dat4,snr2,irc) | ||||||
|         call timer('qra64_de',1) |         call timer('qra64_de',1) | ||||||
| !        if(abs(snr2).gt.30.) snr2=-30.0 |  | ||||||
|         if(irc.eq.0) go to 10 |         if(irc.eq.0) go to 10 | ||||||
|         if(irc.gt.0) call badmsg(irc,dat4,nc1,nc2,ng2) |         if(irc.gt.0) call badmsg(irc,dat4,nc1,nc2,ng2) | ||||||
|         iirc=max(0,min(irc,11)) |         iirc=max(0,min(irc,11)) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user