[chirp_devel] [PATCH 2 of 2] [vx5] Fix tone list. #803
Tom Hayward
Mon Apr 22 09:55:12 PDT 2013
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1366649559 25200
# Node ID f83383051e60b8b5db9bfb99f43f03109924bc5a
# Parent 0427d271983b566751d2bc61eb9884dd612bc9f5
[vx5] Fix tone list. #803
diff -r 0427d271983b -r f83383051e60 chirp/vx5.py
--- a/chirp/vx5.py Mon Apr 22 09:52:01 2013 -0700
+++ b/chirp/vx5.py Mon Apr 22 09:52:39 2013 -0700
@@ -216,7 +216,7 @@
mem.tmode = TMODES[_mem.tmode & 0x3] # masked so bad mems can be read
if mem.duplex == "split":
mem.offset = chirp_common.fix_rounded_step(mem.offset)
- mem.rtone = mem.ctone = chirp_common.TONES[_mem.tone]
+ mem.rtone = mem.ctone = chirp_common.OLD_TONES[_mem.tone]
mem.dtcs = chirp_common.DTCS_CODES[_mem.dtcs]
mem.skip = _flg.pskip and "P" or _flg.skip and "S" or ""
@@ -263,7 +263,7 @@
else:
_mem.power = 0
_mem.tmode = TMODES.index(mem.tmode)
- _mem.tone = chirp_common.TONES.index(mem.rtone)
+ _mem.tone = chirp_common.OLD_TONES.index(mem.rtone)
_mem.dtcs = chirp_common.DTCS_CODES.index(mem.dtcs)
_flg.skip = mem.skip == "S"
More information about the chirp_devel
mailing list