[chirp_devel] [PATCH] [thuvf1] Fix usage of rx_dtcs in common split_tone function

Marco Filippi IZ3GME
Sun Jul 22 06:37:36 PDT 2012


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1342964144 -7200
# Node ID a394a9723d89397c8a494513de9a8e8bddb89106
# Parent  35929620b7efd26d0eabae83ae5e4ef35afeb165
[thuvf1] Fix usage of rx_dtcs in common split_tone function
now radio pass all tests
Related to #204

diff -r 35929620b7ef -r a394a9723d89 chirp/chirp_common.py
--- a/chirp/chirp_common.py	mer lug 18 19:48:02 2012 -0700
+++ b/chirp/chirp_common.py	dom lug 22 15:35:44 2012 +0200
@@ -1267,7 +1267,7 @@
 
     if txmode == rxmode == "DTCS" and txval == rxval:
         mem.tmode = "DTCS"
-        mem.dtcs = txval
+        mem.rx_dtcs = txval
         return
 
     mem.tmode = "Cross"
@@ -1304,7 +1304,7 @@
         txval = rxval = mem.ctone
     elif mem.tmode == "DTCS":
         txmode = rxmode = "DTCS"
-        txval = rxval = mem.dtcs
+        txval = rxval = mem.rx_dtcs
     elif mem.tmode == "Cross":
         txmode, rxmode = mem.cross_mode.split("->", 1)
         if txmode == "Tone":



More information about the chirp_devel mailing list