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:
Joe Taylor 2007-06-12 14:29:01 +00:00
parent bce3aa9303
commit 3edc0ed447

View File

@ -1,4 +1,4 @@
#---------------------------------------------------- SpecJT
#----------------------------------------------------- SpecJT
from Tkinter import *
from tkMessageBox import showwarning
import time
@ -110,7 +110,8 @@ def fdf_change(event):
g.DFreq=df*(event.x-288.7) + fmid - 1500
if nfr.get()==2: g.DFreq=2*df*(event.x-375.5) + fmid - 1270.5
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)
#---------------------------------------------------- set_freezedf