mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-24 10:22:26 -04:00
Don't "blue out" the decode button if we're transmitting.
Display UTC and percent lost packets with debug level 1. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@462 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
0e09eb9aa3
commit
a93c9c65ed
6
map65.py
6
map65.py
@ -914,7 +914,7 @@ def update():
|
|||||||
ldate.configure(text=t)
|
ldate.configure(text=t)
|
||||||
t="Rx noise: %.1f dB" % Audio.gcom2.rxnoise
|
t="Rx noise: %.1f dB" % Audio.gcom2.rxnoise
|
||||||
msg4.configure(text=t)
|
msg4.configure(text=t)
|
||||||
t="Drop: %.1f %%" % Audio.gcom2.pctlost
|
t="Drop: %.2f %%" % Audio.gcom2.pctlost
|
||||||
msg5.configure(text=t)
|
msg5.configure(text=t)
|
||||||
root_geom=root.geometry()
|
root_geom=root.geometry()
|
||||||
try:
|
try:
|
||||||
@ -984,8 +984,10 @@ def update():
|
|||||||
t="QSO DF:%4d" % (int(Audio.gcom2.mousedf),)
|
t="QSO DF:%4d" % (int(Audio.gcom2.mousedf),)
|
||||||
msg3.configure(text=t)
|
msg3.configure(text=t)
|
||||||
|
|
||||||
|
txminute=0
|
||||||
|
if Audio.gcom2.lauto and utc[4]%2 == Audio.gcom1.txfirst: txminute=1
|
||||||
if mode.get()[:4]=='JT65' and (Audio.gcom2.ndecoding>0 or \
|
if mode.get()[:4]=='JT65' and (Audio.gcom2.ndecoding>0 or \
|
||||||
(isec>45 and Audio.gcom2.monitoring==1 and \
|
(isec>45 and txminute==0 and \
|
||||||
Audio.datcom.kkdone!=-99 and Audio.gcom2.ndiskdat!=1)):
|
Audio.datcom.kkdone!=-99 and Audio.gcom2.ndiskdat!=1)):
|
||||||
#Set button bg while decoding
|
#Set button bg while decoding
|
||||||
bc='#66FFFF'
|
bc='#66FFFF'
|
||||||
|
11
map65a.f90
11
map65a.f90
@ -307,15 +307,18 @@ subroutine map65a(newdat)
|
|||||||
|
|
||||||
if(nsave.gt.0) call savetf2(id(1,1,kbuf),nsave,nutc)
|
if(nsave.gt.0) call savetf2(id(1,1,kbuf),nsave,nutc)
|
||||||
|
|
||||||
999 nagain=0
|
999 close(23)
|
||||||
close(23)
|
|
||||||
if(kbuf.eq.1) kkdone=60*96000
|
if(kbuf.eq.1) kkdone=60*96000
|
||||||
if(kbuf.eq.2 .or. ndiskdat.eq.1) kkdone=0
|
if(kbuf.eq.2 .or. ndiskdat.eq.1) kkdone=0
|
||||||
kk=kkdone
|
kk=kkdone
|
||||||
|
if(nagain.eq.0) then
|
||||||
t3=sec_midn()
|
t3=sec_midn()
|
||||||
if(ndebug.eq.2) write(*,3003) mod(int(t3),60)
|
if(ndebug.eq.2) write(*,3003) mod(int(t3),60)
|
||||||
3003 format('mod65a 3:'i8.2)
|
3003 format('mod65a 3:'i8.2)
|
||||||
if(ndebug.eq.1) write(*,3004) mod(t2,60.0),mod(t3,60.0)
|
if(ndebug.eq.1) write(*,3004) nutc,mod(t2,60.0),mod(t3,60.0),pctlost
|
||||||
3004 format('mod65a:',2f6.1)
|
3004 format('mod65a:',i5.4,1x,2f6.1,f8.2,' %')
|
||||||
|
endif
|
||||||
|
nagain=0
|
||||||
|
|
||||||
return
|
return
|
||||||
end subroutine map65a
|
end subroutine map65a
|
||||||
|
Loading…
x
Reference in New Issue
Block a user