[chirp_devel] [PATCH] [UV-6R] Fix Inverted Power Levels

Jim Unroe
Thu Aug 18 18:12:37 PDT 2016


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1471569016 14400
# Node ID f2a967b26e6ec947c935cdcfde1e99c6eb16f6b2
# Parent  e4704124d5b9d21db4b7cabcdff037a1b85f2bd8
[UV-6R] Fix Inverted Power Levels

Somehow I got the order of the power levels swapped. This patch puts
them in the proper order.

related to #2761

diff -r e4704124d5b9 -r f2a967b26e6e chirp/drivers/uv6r.py
--- a/chirp/drivers/uv6r.py	Thu Aug 18 06:29:52 2016 -0700
+++ b/chirp/drivers/uv6r.py	Thu Aug 18 21:10:16 2016 -0400
@@ -117,8 +117,8 @@
     LENGTH_NAME = 7
     SKIP_VALUES = ["", "S"]
     DTCS_CODES = sorted(chirp_common.DTCS_CODES + [645])
-    POWER_LEVELS = [chirp_common.PowerLevel("Low", watts=1.00),
-                    chirp_common.PowerLevel("High", watts=5.00)]
+    POWER_LEVELS = [chirp_common.PowerLevel("High", watts=5.00),
+                    chirp_common.PowerLevel("Low", watts=1.00)]
     VALID_BANDS = [(136000000, 174000000),
                    (400000000, 520000000)]
     PTTID_LIST = LIST_PTTID



More information about the chirp_devel mailing list