mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-09-08 22:36:40 -04:00
Tweaked freq readout.
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@387 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
bce3aa9303
commit
3edc0ed447
@ -1,4 +1,4 @@
|
|||||||
#---------------------------------------------------- SpecJT
|
#----------------------------------------------------- SpecJT
|
||||||
from Tkinter import *
|
from Tkinter import *
|
||||||
from tkMessageBox import showwarning
|
from tkMessageBox import showwarning
|
||||||
import time
|
import time
|
||||||
@ -110,7 +110,8 @@ def fdf_change(event):
|
|||||||
g.DFreq=df*(event.x-288.7) + fmid - 1500
|
g.DFreq=df*(event.x-288.7) + fmid - 1500
|
||||||
if nfr.get()==2: g.DFreq=2*df*(event.x-375.5) + fmid - 1270.5
|
if nfr.get()==2: g.DFreq=2*df*(event.x-375.5) + fmid - 1270.5
|
||||||
g.Freq=g.DFreq+1270.46
|
g.Freq=g.DFreq+1270.46
|
||||||
t="Freq: %5d DF: %5d (Hz)" % (int(g.Freq),int(g.DFreq))
|
# t="Freq: %5d DF: %5d (Hz)" % (int(g.Freq),int(g.DFreq))
|
||||||
|
t="Freq: %5d" % (event.x)
|
||||||
fdf.configure(text=t)
|
fdf.configure(text=t)
|
||||||
|
|
||||||
#---------------------------------------------------- set_freezedf
|
#---------------------------------------------------- set_freezedf
|
||||||
|
Loading…
Reference in New Issue
Block a user