mirror of
				https://github.com/saitohirga/WSJT-X.git
				synced 2025-10-31 13:10:19 -04:00 
			
		
		
		
	Moved test for full buffer.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@1007 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
		
							parent
							
								
									b98b6aa2bf
								
							
						
					
					
						commit
						dec7dbb6dd
					
				
							
								
								
									
										2
									
								
								map65.py
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								map65.py
									
									
									
									
									
								
							| @ -1,4 +1,4 @@ | |||||||
| #--------------------------------------------------------------------- MAP65 | #---------------------------------------------------------------------- MAP65 | ||||||
| # $Date$ $Revision$ | # $Date$ $Revision$ | ||||||
| # | # | ||||||
| from Tkinter import * | from Tkinter import * | ||||||
|  | |||||||
| @ -55,6 +55,10 @@ subroutine recvpkt(iarg) | |||||||
| 
 | 
 | ||||||
|   if(transmitting.eq.1) ntx=1 |   if(transmitting.eq.1) ntx=1 | ||||||
| 
 | 
 | ||||||
|  | ! Test for buffer full | ||||||
|  |   if((kb.eq.1 .and. (k+174).gt.NSMAX) .or.                          & | ||||||
|  |        (kb.eq.2 .and. (k+174).gt.2*NSMAX)) go to 20 | ||||||
|  | 
 | ||||||
| ! Check for lost packets | ! Check for lost packets | ||||||
|   lost=nblock-nblock0-1 |   lost=nblock-nblock0-1 | ||||||
|   if(lost.ne.0) then |   if(lost.ne.0) then | ||||||
| @ -74,10 +78,6 @@ subroutine recvpkt(iarg) | |||||||
|   if(tdiff.lt.-30.) tdiff=tdiff+60. |   if(tdiff.lt.-30.) tdiff=tdiff+60. | ||||||
|   if(tdiff.gt.30.) tdiff=tdiff-60. |   if(tdiff.gt.30.) tdiff=tdiff-60. | ||||||
| 
 | 
 | ||||||
| ! Test for buffer full |  | ||||||
|   if((kb.eq.1 .and. (k+174).gt.NSMAX) .or.                          & |  | ||||||
|        (kb.eq.2 .and. (k+174).gt.2*NSMAX)) go to 20 |  | ||||||
| 
 |  | ||||||
| ! Move data into Rx buffer and compute average signal level. | ! Move data into Rx buffer and compute average signal level. | ||||||
|   sq=0. |   sq=0. | ||||||
|   do i=1,174 |   do i=1,174 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user