[chirp_devel] [PATCH] [UV-5X3] Fix Inverted Power Levels
Jim Unroe
Thu Aug 18 18:13:16 PDT 2016
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1471569185 14400
# Node ID 3d77965ee7dccbe5f3fc3e6203a1440721e89920
# Parent f2a967b26e6ec947c935cdcfde1e99c6eb16f6b2
[UV-5X3] Fix Inverted Power Levels
Somehow I got the order of the power levels swapped. This patch puts
them in the proper order.
related to #3931
diff -r f2a967b26e6e -r 3d77965ee7dc chirp/drivers/uv5x3.py
--- a/chirp/drivers/uv5x3.py Thu Aug 18 21:10:16 2016 -0400
+++ b/chirp/drivers/uv5x3.py Thu Aug 18 21:13:05 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 = [(130000000, 180000000),
(222000000, 226000000),
(400000000, 521000000)]
More information about the chirp_devel
mailing list