mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	Disallow Q65 decodes with sum(dat4)=0: all 78 bita are zero.
This commit is contained in:
		
							parent
							
								
									f78b6710f4
								
							
						
					
					
						commit
						47c8286db8
					
				| @ -308,6 +308,7 @@ subroutine q65_dec1(s3,nsubmode,b90ts,codewords,ncw,esnodb,irc,dat4,decoded) | |||||||
|   decoded='                                     ' |   decoded='                                     ' | ||||||
|   call q65_intrinsics_ff(s3,nsubmode,b90ts,nFadingModel,s3prob) |   call q65_intrinsics_ff(s3,nsubmode,b90ts,nFadingModel,s3prob) | ||||||
|   call q65_dec_fullaplist(s3,s3prob,codewords,ncw,esnodb,dat4,plog,irc) |   call q65_dec_fullaplist(s3,s3prob,codewords,ncw,esnodb,dat4,plog,irc) | ||||||
|  |   if(sum(dat4).le.0) irc=-2 | ||||||
|   if(irc.ge.0 .and. plog.gt.PLOG_MIN) then |   if(irc.ge.0 .and. plog.gt.PLOG_MIN) then | ||||||
|      write(c77,1000) dat4(1:12),dat4(13)/2 |      write(c77,1000) dat4(1:12),dat4(13)/2 | ||||||
| 1000 format(12b6.6,b5.5) | 1000 format(12b6.6,b5.5) | ||||||
| @ -332,6 +333,7 @@ subroutine q65_dec2(s3,nsubmode,b90ts,esnodb,irc,dat4,decoded) | |||||||
|   decoded='                                     ' |   decoded='                                     ' | ||||||
|   call q65_intrinsics_ff(s3,nsubmode,b90ts,nFadingModel,s3prob) |   call q65_intrinsics_ff(s3,nsubmode,b90ts,nFadingModel,s3prob) | ||||||
|   call q65_dec(s3,s3prob,APmask,APsymbols,esnodb,dat4,irc) |   call q65_dec(s3,s3prob,APmask,APsymbols,esnodb,dat4,irc) | ||||||
|  |   if(sum(dat4).le.0) irc=-2 | ||||||
|   if(irc.ge.0) then |   if(irc.ge.0) then | ||||||
|      write(c77,1000) dat4(1:12),dat4(13)/2 |      write(c77,1000) dat4(1:12),dat4(13)/2 | ||||||
| 1000 format(12b6.6,b5.5) | 1000 format(12b6.6,b5.5) | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user