[chirp_devel] [PATCH] [UV-5X3] Increase Band Limits

Jim Unroe
Thu Sep 22 17:56:46 PDT 2016


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1474591669 14400
# Node ID a0c4bb0655448802bbea4107f4db767f75ad4b1f
# Parent  1f9ff67ec2cdfe4ba55cb98fb741be712f3ebaf6
[UV-5X3] Increase Band Limits

The factory changed the 220 band limits of the BTECH UV-5X3. This patch
sets the driver band limits to match.

#4053

diff -r 1f9ff67ec2cd -r a0c4bb065544 chirp/drivers/uv5x3.py
--- a/chirp/drivers/uv5x3.py	Tue Sep 20 19:34:00 2016 -0400
+++ b/chirp/drivers/uv5x3.py	Thu Sep 22 20:47:49 2016 -0400
@@ -122,7 +122,7 @@
     POWER_LEVELS = [chirp_common.PowerLevel("High", watts=5.00),
                     chirp_common.PowerLevel("Low", watts=1.00)]
     VALID_BANDS = [(130000000, 180000000),
-                   (222000000, 226000000),
+                   (220000000, 226000000),
                    (400000000, 521000000)]
     PTTID_LIST = LIST_PTTID
     SCODE_LIST = LIST_SCODE
@@ -682,7 +682,7 @@
             lower = 200
             upper = 230
         else:
-            lower = 222
+            lower = 220
             upper = 225
         rs = RadioSetting("limits.vhf2.lower", "VHF2 Lower Limit (MHz)",
                           RadioSettingValueInteger(



More information about the chirp_devel mailing list