[chirp_devel] Fwd: [PATCH 1 of 3] [LT-725UV] Fix for incorrect range specified for VFO B Initial Chan: setting
---------- Forwarded message --------- From: Jim Unroe kc9hi@comcast.net Date: Mon, Apr 12, 2021 at 12:29 PM Subject: [PATCH 1 of 3] [LT-725UV] Fix for incorrect range specified for VFO B Initial Chan: setting To: Rock.Unroe@gmail.com
# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1618173934 14400 # Sun Apr 11 16:45:34 2021 -0400 # Node ID 9f38db094e0e56b31998f97abda4ca6f53572a0a # Parent 42c5ae551170c33b04f997e3a07a9e1857bdb504 [LT-725UV] Fix for incorrect range specified for VFO B Initial Chan: setting
The Settings -> VFO B-Lower Settings -> Initial Chan:" setting currently provies a selection range of 0-127. This range should be 1-128.
This patch updates the Initial Chan: seting to provide the correct range.
Models affected: LUITON LT-725UV Baojie BJ-218 / Hesenate BJ-218 / Zastone BJ-218
Fixes #8979
diff -r 42c5ae551170 -r 9f38db094e0e chirp/drivers/lt725uv.py --- a/chirp/drivers/lt725uv.py Mon Apr 05 17:23:17 2021 -0700 +++ b/chirp/drivers/lt725uv.py Sun Apr 11 16:45:34 2021 -0400 @@ -1043,7 +1043,7 @@
val = _vfob.chan_num + 1 rs = RadioSetting("lower.vfob.chan_num", "Initial Chan", - RadioSettingValueInteger(0, 127, val)) + RadioSettingValueInteger(1, 128, val)) rs.set_apply_callback(my_adjraw, _vfob, "chan_num", -1) b_band.append(rs)
participants (1)
-
Jim Unroe