mirror of
https://github.com/kk7ds/chirp.git
synced 2024-09-21 18:47:18 +00:00
[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:
parent
52a3ae61c8
commit
c4aa46e654
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user