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

IZ3GME Marco
Tue Mar 11 01:31:19 PDT 2014


Hi all!
Jim confirmed this fix the pol set bug.
Please include both patches in upcoming daily build.

TNX
73 de IZ3GME Marco

On 10/03/2014 12:01, Marco Filippi IZ3GME wrote:
> # 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