[PATCH][Baofeng BF-T1] FM callback correction, fixes #4933

Last patch introduced a bug in the FM callback, this one fix it.
This commit is contained in:
Pavel Milanes (CO7WT) 2018-01-03 11:06:05 -05:00
parent 52a3ae61c8
commit c4aa46e654

View File

@ -830,7 +830,7 @@ class BFT1(chirp_common.CloneModeRadio, chirp_common.ExperimentalRadio):
# callbacks for the FM VFO
def apply_fm_freq(setting, obj):
setattr(obj, setting.get_name(),
int(setting.get_value() * 10) - 650)
int(setting.value.get_value() * 10) - 650)
_fm_vfo = int(_settings.fm_vfo) * 0.1 + 65
rs = RadioSetting("fm_vfo", "FM Station",