[chirp_devel] [PATCH] [KG-UV8E] Add support for new version with lowe UHF band, fixes #9495
# HG changeset patch # User Pavel Milanes (CO7WT) pavelmc@gmail.com # Date 1636736246 18000 # Fri Nov 12 11:57:26 2021 -0500 # Node ID 31b55346aea57a7fa55868608e67a4b5daaa5c6f # Parent 13ba0a417aff049773106098160896a20af0da2f [KG-UV8E] Add support for new version with lowe UHF band, fixes #9495
A new hardware revision, it has a UHF RX range from 350-520 Mhz (TX restricted from 400-520Mhz); it's lower in 50 Mhz from the previous known models.
The internal version's date is: 20190813 vs old ones 20160507, this patch widen the lower RX range, I think old models can cope with that.
diff -r 13ba0a417aff -r 31b55346aea5 chirp/drivers/kguv8e.py --- a/chirp/drivers/kguv8e.py Thu Nov 04 17:23:38 2021 -0700 +++ b/chirp/drivers/kguv8e.py Fri Nov 12 11:57:26 2021 -0500 @@ -523,7 +523,7 @@ rf.valid_duplexes = ["", "-", "+", "split", "off"] rf.valid_bands = [(134000000, 175000000), # supports 2m (220000000, 260000000), # supports 1.25m - (400000000, 520000000)] # supports 70cm + (350000000, 520000000)] # supports 70cm rf.valid_characters = chirp_common.CHARSET_ASCII rf.memory_bounds = (1, 999) # 999 memories rf.valid_tuning_steps = STEPS @@ -1041,12 +1041,12 @@
rs = RadioSetting("uhf_limits.rx_start", "UHF RX Lower Limit", RadioSettingValueInteger( - 400000000, 520000000, + 350000000, 520000000, self._memobj.uhf_limits.rx_start * 10, 5000)) uhf_lmt_grp.append(rs) rs = RadioSetting("uhf_limits.rx_stop", "UHF RX Upper Limit", RadioSettingValueInteger( - 400000000, 520000000, + 350000000, 520000000, self._memobj.uhf_limits.rx_stop * 10, 5000)) uhf_lmt_grp.append(rs) rs = RadioSetting("uhf_limits.tx_start", "UHF TX Lower Limit",
participants (1)
-
Pavel Milanes (CO7WT)