[chirp_devel] [PATCH] [bj-uv55] remove 2.5 from steps in vfo mode #1503
# HG changeset patch # User Jens Jensen kd4tjx@yahoo.com # Date 1395154536 18000 # Tue Mar 18 09:55:36 2014 -0500 # Node ID a85519c210f22c6f93490e152e41c3caaeb5a543 # Parent 145dcd53a6695bc8bd2c6b00367f9b6920149029 [bj-uv55] remove 2.5 from steps in vfo mode #1503
diff -r 145dcd53a669 -r a85519c210f2 chirp/bjuv55.py --- a/chirp/bjuv55.py Sat Mar 08 12:57:29 2014 -0500 +++ b/chirp/bjuv55.py Tue Mar 18 09:55:36 2014 -0500 @@ -37,6 +37,10 @@
COLOR_LIST = ["Off", "Blue", "Red", "Pink"]
+STEPS = uv5r.STEPS +STEPS.remove(2.5) +STEP_LIST = [str(x) for x in STEPS] + MEM_FORMAT = """ #seekto 0x0008; struct { @@ -538,12 +542,12 @@
rs = RadioSetting("vfoa.step", "VFO A Tuning Step", - RadioSettingValueList(uv5r.STEP291_LIST, - uv5r.STEP291_LIST[self._memobj.vfoa.step])) + RadioSettingValueList(STEP_LIST, + STEP_LIST[self._memobj.vfoa.step])) workmode.append(rs) rs = RadioSetting("vfob.step", "VFO B Tuning Step", - RadioSettingValueList(uv5r.STEP291_LIST, - uv5r.STEP291_LIST[self._memobj.vfob.step])) + RadioSettingValueList(STEP_LIST, + STEP_LIST[self._memobj.vfob.step])) workmode.append(rs)
participants (1)
-
Jens Jensen