[chirp_devel] [PATCH] [kenwood_live] Support for all freq steps in 271/281 Fixes #795

Ryan Tourge
Wed Apr 8 18:39:40 PDT 2015


# HG changeset patch
# User Ryan Tourge K2RRT <ryan.tourge at gmail.com>x
# Date 1428543111 14400
#      Wed Apr 08 21:31:51 2015 -0400
# Node ID 4deac6b0c64a5f5923b3d2eb2b5c3136b11fd4bf
# Parent  e5c23688bffb6c04a7fd45be201db5ae481a804f
[kenwood_live] Support for all freq steps in 271/281 Fixes #795

diff -r e5c23688bffb -r 4deac6b0c64a chirp/drivers/kenwood_live.py
--- a/chirp/drivers/kenwood_live.py	Tue Apr 07 21:26:17 2015 -0400
+++ b/chirp/drivers/kenwood_live.py	Wed Apr 08 21:31:51 2015 -0400
@@ -1260,6 +1260,7 @@
         return spec
 
 
+TM271_STEPS = [2.5, 5.0, 6.25, 10.0, 12.5, 15.0, 20.0, 25.0, 30.0, 50.0, 100.0]
 @directory.register
 class TM271Radio(THK2Radio):
     """Kenwood TM-271"""
@@ -1278,7 +1279,7 @@
         rf.valid_name_length = 6
         rf.valid_bands = [(137000000, 173990000)]
         rf.valid_skips = ["", "S"]
-        rf.valid_tuning_steps = [5.0]
+        rf.valid_tuning_steps = list(TM271_STEPS)
         rf.memory_bounds = (0, 99)
         return rf
 



More information about the chirp_devel mailing list