[chirp_devel] [PATCH] [UV-50X3] Add Support for BTech UV-50X3 - DTMF Settings (bug fix)

Jim Unroe
Tue Jul 12 20:23:07 PDT 2016


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1468380050 14400
# Node ID 68ba2e777e7d1d5f9c7748e7974064cf902fe4c8
# Parent  6084353f3660db779d8c21fefb536048d71c1b50
[UV-50X3] Add Support for BTech UV-50X3 - DTMF Settings (bug fix)

This patch fixes a bug in the UV-50X3 DTMF settings.

related to #3815

diff -r 6084353f3660 -r 68ba2e777e7d chirp/drivers/vgc.py
--- a/chirp/drivers/vgc.py	Tue Jul 12 23:20:22 2016 -0400
+++ b/chirp/drivers/vgc.py	Tue Jul 12 23:20:50 2016 -0400
@@ -1329,7 +1329,7 @@
                         setattr(obj, setting, value)
                     elif setting in ["ttdgt", "ttint", "tt1stdgt"]:
                         setattr(obj, setting, int(element.value) + 5)
-                    elif setting == ["tt1stdly", "ttdlyqt"]:
+                    elif setting in ["tt1stdly", "ttdlyqt"]:
                         setattr(obj, setting, int(element.value) + 2)
                     elif re.match('code\d', setting):
                         # set dtmf length field and then get bcd dtmf



More information about the chirp_devel mailing list