[chirp_devel] [PATCH] [vx6] Fix tuning step list. #499

Tom Hayward
Mon Feb 4 11:47:19 PST 2013


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1360007203 28800
# Node ID c61c4215047cb44eca7d535595ccd93d613ff0a4
# Parent  9e251a3e21418141a78796f24fd98eb00b739671
[vx6] Fix tuning step list. #499

diff -r 9e251a3e2141 -r c61c4215047c chirp/vx6.py
--- a/chirp/vx6.py	Mon Feb 04 10:08:47 2013 -0800
+++ b/chirp/vx6.py	Mon Feb 04 11:46:43 2013 -0800
@@ -87,11 +87,9 @@
 DUPLEX = ["", "-", "+", "split"]
 MODES  = ["FM", "AM", "WFM", "FM"] # last is auto
 TMODES = ["", "Tone", "TSQL", "DTCS"]
-STEPS = list(chirp_common.TUNING_STEPS)
-STEPS.remove(6.25)
-STEPS.remove(30.0)
-STEPS.append(100.0)
-STEPS.append(9.0)
+STEPS =  [5.0, 10.0, 12.5, 15.0, 20.0, 25.0, 50.0, 100.0,
+          9.0, 200.0, 5.0]  # last is auto, 9.0k and 200.0k are unadvertised
+
 
 CHARSET = ["%i" % int(x) for x in range(0, 10)] + \
     [chr(x) for x in range(ord("A"), ord("Z")+1)] + \
@@ -132,6 +130,7 @@
         rf.valid_modes = ["FM", "WFM", "AM", "NFM"]
         rf.valid_tmodes = ["", "Tone", "TSQL", "DTCS"]
         rf.valid_duplexes = DUPLEX
+        rf.valid_tuning_steps = STEPS
         rf.valid_power_levels = POWER_LEVELS
         rf.memory_bounds = (1, 900)
         rf.valid_bands = [(500000, 998990000)]



More information about the chirp_devel mailing list