[chirp_devel] [PATCH] [d710] [v71] [d72] Fix tone list (not all tones are supported). Fixes #212
Tom Hayward
Sun Jun 10 11:10:10 PDT 2012
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1339351787 21600
# Node ID aab310b81a6b4e863d8eb5037f92bf9203dbc13e
# Parent f7996093b944ae955a7bf051c6a02c21ca35b901
[d710] [v71] [d72] Fix tone list (not all tones are supported). Fixes #212
diff -r f7996093b944 -r aab310b81a6b chirp/kenwood_live.py
--- a/chirp/kenwood_live.py Sat Jun 09 21:10:11 2012 -0700
+++ b/chirp/kenwood_live.py Sun Jun 10 12:09:47 2012 -0600
@@ -793,6 +793,15 @@
D710_MODES = ["FM", "NFM", "AM"]
D710_SKIP = ["", "S"]
D710_STEPS = [5.0, 6.25, 8.33, 10.0, 12.5, 15.0, 20.0, 25.0, 30.0, 50.0, 100.0]
+D710_TONES = list(chirp_common.TONES)
+D710_TONES.remove(159.8)
+D710_TONES.remove(165.5)
+D710_TONES.remove(171.3)
+D710_TONES.remove(177.3)
+D710_TONES.remove(183.5)
+D710_TONES.remove(189.9)
+D710_TONES.remove(196.6)
+D710_TONES.remove(199.5)
@directory.register
class TMD710Radio(KenwoodLiveRadio):
@@ -800,6 +809,7 @@
MODEL = "TM-D710"
_upper = 999
+ _kenwood_valid_tones = list(D710_TONES)
def get_features(self):
rf = chirp_common.RadioFeatures()
More information about the chirp_devel
mailing list