[chirp_devel] [PATCH] [px777] Add odd split support

Tom Hayward
Wed May 23 11:34:05 PDT 2012


# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1337798035 21600
# Node ID e71ae2bed636d238dbfd9a532cf23159a01b4583
# Parent  51a0d9490ced8d3b24ec13a0ed572233185c3560
[px777] Add odd split support.

diff -r 51a0d9490ced -r e71ae2bed636 chirp/wouxun.py
--- a/chirp/wouxun.py	Tue May 22 16:41:27 2012 -0700
+++ b/chirp/wouxun.py	Wed May 23 12:33:55 2012 -0600
@@ -516,6 +516,7 @@
         rf.has_ctone = False
         rf.has_tuning_step = False
         rf.has_bank = False
+        rf.can_odd_split = True
         rf.memory_bounds = (1, 128)
 
         if not hasattr(self, "_memobj") or self._memobj is None:
@@ -643,6 +644,8 @@
             _mem.tx_freq = (mem.freq / 10) + (mem.offset / 10)
         elif mem.duplex == "-":
             _mem.tx_freq = (mem.freq / 10) - (mem.offset / 10)
+        elif mem.duplex == "split":
+            _mem.tx_freq = mem.offset / 10
         else:
             _mem.tx_freq = (mem.freq / 10)
         _mem.skip = mem.skip != "S"



More information about the chirp_devel mailing list