[chirp_devel] [PATCH] [KG-UVxD] Fix dtcs pol set

Marco Filippi IZ3GME
Mon Mar 10 04:01:27 PDT 2014


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1394449215 -3600
#      lun mar 10 12:00:15 2014 +0100
# Node ID 7e45da271e21e3203892953bc143a82a940ff4a7
# Parent  d1081e1a2f00df31c29dc0278d3e64f1e5fe8e9a
[KG-UVxD] Fix dtcs pol set

Dtcs pol use only one bit

Fix #1479

diff --git a/chirp/wouxun.py b/chirp/wouxun.py
--- a/chirp/wouxun.py
+++ b/chirp/wouxun.py
@@ -772,7 +772,7 @@
         def _set_dcs(code, pol):
             val = int("%i" % code, 8) + 0x2800
             if pol == "R":
-                val += 0xA000
+                val += 0x8000
             return val
 
         if mem.tmode == "Cross":



More information about the chirp_devel mailing list