[chirp_devel] [PATCH] [TH-UV3R] DTCS Bug in TYT TH-UV3R Driver

Jim Unroe
Wed Mar 8 17:58:12 PST 2017


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1489024632 18000
# Node ID 2dd04d5825c6e2121a1459862c5cf27bf0bc35f6
# Parent  fd5a0e45c39b3b21950e0f9c230d334e579d00a1
[TH-UV3R] DTCS Bug in TYT TH-UV3R Driver

The typos in this driver were discovered when researching DTCS code
being addressed in the Retevis RT22 and other radio models.

Related to #4585

diff -r fd5a0e45c39b -r 2dd04d5825c6 chirp/drivers/th_uv3r.py
--- a/chirp/drivers/th_uv3r.py	Wed Mar 08 20:35:54 2017 -0500
+++ b/chirp/drivers/th_uv3r.py	Wed Mar 08 20:57:12 2017 -0500
@@ -179,7 +179,7 @@
             rx_mode = tx_mode = "Tone"
             rx_tone = tx_tone = _tone(mem.ctone)
         elif mem.tmode == "DTCS":
-            rx_tone = tx_tone = "DTCS"
+            rx_mode = tx_mode = "DTCS"
             tx_tone = _dcs(mem.dtcs, mem.dtcs_polarity[0])
             rx_tone = _dcs(mem.dtcs, mem.dtcs_polarity[1])
         elif mem.tmode == "Cross":



More information about the chirp_devel mailing list