[chirp_devel] [PATCH] [UV-B5] Update Frequency Ranges
Jim Unroe
Sat Apr 12 10:49:16 PDT 2014
# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1397324846 14400
# Node ID 09a238f1f79e303dbaf3673a551d349427f959fa
# Parent c5cf3c72377a8dc151d06f08a23a22ec800971cf
[UV-B5] Update Frequency Ranges
Update rf.valid_bands
130.000-175.000 MHz (expanded range)
220.000-269.000 MHz (added range)
400.000-520.000 MHz (unchanged)
Expand the VHF Lower Limit setting range
128-270
Expand the VHF Upper Limit setting range
128-270
#1559
diff -r c5cf3c72377a -r 09a238f1f79e chirp/uvb5.py
--- a/chirp/uvb5.py Thu Apr 03 16:54:50 2014 +0200
+++ b/chirp/uvb5.py Sat Apr 12 13:47:26 2014 -0400
@@ -289,7 +289,8 @@
rf.valid_skips = ["", "S"]
rf.valid_characters = CHARSET
rf.valid_name_length = 5
- rf.valid_bands = [(136000000, 174000000),
+ rf.valid_bands = [(130000000, 175000000),
+ (220000000, 269000000),
(400000000, 520000000)]
rf.valid_modes = ["FM", "NFM"]
rf.valid_special_chans = SPECIALS.keys()
@@ -617,7 +618,7 @@
_limit = int(self._memobj.limits.lower_vhf) / 10
rs = RadioSetting("limits.lower_vhf", "VHF Lower Limit (MHz)",
- RadioSettingValueInteger(136, 174, _limit))
+ RadioSettingValueInteger(128, 270, _limit))
def apply_limit(setting, obj):
value = int(setting.value) * 10
obj.lower_vhf = value
@@ -626,7 +627,7 @@
_limit = int(self._memobj.limits.upper_vhf) / 10
rs = RadioSetting("limits.upper_vhf", "VHF Upper Limit (MHz)",
- RadioSettingValueInteger(136, 174, _limit))
+ RadioSettingValueInteger(128, 270, _limit))
def apply_limit(setting, obj):
value = int(setting.value) * 10
obj.upper_vhf = value
More information about the chirp_devel
mailing list