[chirp_devel] [PATCH] [BF-T1] FIX range for limmit setting Fixes #6165
Pavel Korshikov
Sat Oct 13 14:58:05 PDT 2018
# HG changeset patch
# User pk.delf
# Date 1539467801 -10800
# Sun Oct 14 00:56:41 2018 +0300
# Node ID 02819d6f14116ddcb8ab889ba1a8ff76c09dedbf
# Parent ad3e6fc729adb7362309cc2db09aed93ab3631df
[BF-T1] FIX range for limmit setting Fixes #6165
diff --git a/chirp/drivers/bf-t1.py b/chirp/drivers/bf-t1.py
--- a/chirp/drivers/bf-t1.py
+++ b/chirp/drivers/bf-t1.py
@@ -841,25 +841,25 @@
setattr(obj, setting.get_name(), int(setting.value) * 10)
rs = RadioSetting("vhfl", "VHF Low Limit",
- RadioSettingValueInteger(136, 174, int(
+ RadioSettingValueInteger(130, 174, int(
_settings.vhfl) / 10))
rs.set_apply_callback(apply_limit, _settings)
adv.append(rs)
rs = RadioSetting("vhfh", "VHF High Limit",
- RadioSettingValueInteger(136, 174, int(
+ RadioSettingValueInteger(130, 174, int(
_settings.vhfh) / 10))
rs.set_apply_callback(apply_limit, _settings)
adv.append(rs)
rs = RadioSetting("uhfl", "UHF Low Limit",
- RadioSettingValueInteger(400, 470, int(
+ RadioSettingValueInteger(400, 520, int(
_settings.uhfl) / 10))
rs.set_apply_callback(apply_limit, _settings)
adv.append(rs)
rs = RadioSetting("uhfh", "UHF High Limit",
- RadioSettingValueInteger(400, 470, int(
+ RadioSettingValueInteger(400, 520, int(
_settings.uhfh) / 10))
rs.set_apply_callback(apply_limit, _settings)
adv.append(rs)
More information about the chirp_devel
mailing list