mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-22 20:28:42 -05:00
Fixed float(int(id ... in recvpkt.F90
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@444 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
7d63d30b74
commit
6f2f7be439
2
map65.py
2
map65.py
@ -1,4 +1,4 @@
|
||||
#---------------------------------------------------------------------- MAP65
|
||||
#--------------------------------------------------------------------- MAP65
|
||||
# $Date$ $Revision$
|
||||
#
|
||||
from Tkinter import *
|
||||
|
2
plrs.f90
2
plrs.f90
@ -89,7 +89,7 @@ program plrs
|
||||
enddo
|
||||
if(pause) then
|
||||
print*,'Type anything to continue:'
|
||||
read(*,*) cjunk
|
||||
read(*,*) cjunk,pause,fast
|
||||
endif
|
||||
enddo
|
||||
i=close(fd)
|
||||
|
@ -63,8 +63,8 @@ subroutine recvpkt(iarg)
|
||||
do i=1,174
|
||||
k=k+1
|
||||
d8(k)=buf8(i)
|
||||
sq=sq + float(id(1,k,1))**2 + float(id(1,k,1))**2 + &
|
||||
float(id(1,k,1))**2 + float(id(1,k,1))**2
|
||||
sq=sq + float(int(id(1,k,1)))**2 + float(int(id(1,k,1)))**2 + &
|
||||
float(int(id(1,k,1)))**2 + float(int(id(1,k,1)))**2
|
||||
enddo
|
||||
sqave=sqave + u*(sq-sqave)
|
||||
rxnoise=10.0*log10(sqave) - 48.0
|
||||
|
Loading…
Reference in New Issue
Block a user