[chirp_devel] [PATCH] [vx6] Fix odd-split support. #497
# HG changeset patch # User Tom Hayward tom@tomh.us # Date 1360001327 28800 # Node ID 9e251a3e21418141a78796f24fd98eb00b739671 # Parent e7b0a492848bb6a581e4588f7f3f3b29355c4699 [vx6] Fix odd-split support. #497
diff -r e7b0a492848b -r 9e251a3e2141 chirp/vx6.py --- a/chirp/vx6.py Mon Feb 04 09:50:55 2013 -0800 +++ b/chirp/vx6.py Mon Feb 04 10:08:47 2013 -0800 @@ -131,6 +131,7 @@ rf.has_dtcs_polarity = False rf.valid_modes = ["FM", "WFM", "AM", "NFM"] rf.valid_tmodes = ["", "Tone", "TSQL", "DTCS"] + rf.valid_duplexes = DUPLEX rf.valid_power_levels = POWER_LEVELS rf.memory_bounds = (1, 900) rf.valid_bands = [(500000, 998990000)] @@ -164,7 +165,7 @@ return mem
mem.freq = chirp_common.fix_rounded_step(int(_mem.freq) * 1000) - mem.offset = int(_mem.offset) * 1000 + mem.offset = chirp_common.fix_rounded_step(int(_mem.offset) * 1000) mem.rtone = mem.ctone = chirp_common.TONES[_mem.tone & 0x3f] mem.tmode = TMODES[_mem.tmode] mem.duplex = DUPLEX[_mem.duplex]
participants (1)
-
Tom Hayward