[chirp_devel] [PATCH] [kg-uvd1p] Enlarge accepted freq ranges to follow new sub models

Marco Filippi IZ3GME
Sun Nov 24 11:56:34 PST 2013


# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1385322911 -3600
# Node ID 45bb9a0410f696a302a442d239965cd4cb602505
# Parent  8125d5fddbe70cc6a79f414b883bbf767173648f
[kg-uvd1p] Enlarge accepted freq ranges to follow new sub models
Fix #1243 and #1271 at once

diff -r 8125d5fddbe7 -r 45bb9a0410f6 chirp/wouxun.py
--- a/chirp/wouxun.py	mer nov 20 19:36:59 2013 -0600
+++ b/chirp/wouxun.py	dom nov 24 20:55:11 2013 +0100
@@ -255,43 +255,43 @@
                             self._memobj.settings.menu_available))
         top.append(rs)
 
-        rs = RadioSetting("vhf_rx_start", "VHF RX Lower Limit (MHz)",
-                          RadioSettingValueInteger(136, 174, 
+        rs = RadioSetting("vhf_rx_start", "1st band RX Lower Limit (MHz)",
+                          RadioSettingValueInteger(50, 174, 
                                 decode_freq(
                                     self._memobj.freq_ranges.vhf_rx_start)))
         freqranges.append(rs)
-        rs = RadioSetting("vhf_rx_stop", "VHF RX Upper Limit (MHz)",
-                          RadioSettingValueInteger(136, 174, 
+        rs = RadioSetting("vhf_rx_stop", "1st band RX Upper Limit (MHz)",
+                          RadioSettingValueInteger(50, 174, 
                                 decode_freq(
                                     self._memobj.freq_ranges.vhf_rx_stop)))
         freqranges.append(rs)
-        rs = RadioSetting("uhf_rx_start", "UHF RX Lower Limit (MHz)",
-                          RadioSettingValueInteger(216, 520, 
+        rs = RadioSetting("uhf_rx_start", "2nd band RX Lower Limit (MHz)",
+                          RadioSettingValueInteger(136, 520, 
                                 decode_freq(
                                     self._memobj.freq_ranges.uhf_rx_start)))
         freqranges.append(rs)
-        rs = RadioSetting("uhf_rx_stop", "UHF RX Upper Limit (MHz)",
-                          RadioSettingValueInteger(216, 520, 
+        rs = RadioSetting("uhf_rx_stop", "2nd band RX Upper Limit (MHz)",
+                          RadioSettingValueInteger(136, 520, 
                                 decode_freq(
                                     self._memobj.freq_ranges.uhf_rx_stop)))
         freqranges.append(rs)
-        rs = RadioSetting("vhf_tx_start", "VHF TX Lower Limit (MHz)",
-                          RadioSettingValueInteger(136, 174, 
+        rs = RadioSetting("vhf_tx_start", "1st band TX Lower Limit (MHz)",
+                          RadioSettingValueInteger(50, 174, 
                                 decode_freq(
                                     self._memobj.freq_ranges.vhf_tx_start)))
         freqranges.append(rs)
-        rs = RadioSetting("vhf_tx_stop", "VHF TX Upper Limit (MHz)",
-                          RadioSettingValueInteger(136, 174, 
+        rs = RadioSetting("vhf_tx_stop", "1st TX Upper Limit (MHz)",
+                          RadioSettingValueInteger(50, 174, 
                                 decode_freq(
                                     self._memobj.freq_ranges.vhf_tx_stop)))
         freqranges.append(rs)
-        rs = RadioSetting("uhf_tx_start", "UHF TX Lower Limit (MHz)",
-                          RadioSettingValueInteger(216, 520, 
+        rs = RadioSetting("uhf_tx_start", "2st band TX Lower Limit (MHz)",
+                          RadioSettingValueInteger(136, 520, 
                                 decode_freq(
                                     self._memobj.freq_ranges.uhf_tx_start)))
         freqranges.append(rs)
-        rs = RadioSetting("uhf_tx_stop", "UHF TX Upper Limit (MHz)",
-                          RadioSettingValueInteger(216, 520, 
+        rs = RadioSetting("uhf_tx_stop", "2st band TX Upper Limit (MHz)",
+                          RadioSettingValueInteger(136, 520, 
                                 decode_freq(
                                     self._memobj.freq_ranges.uhf_tx_stop)))
         freqranges.append(rs)



More information about the chirp_devel mailing list