# HG changeset patch # User Jim Unroe rock.unroe@gmail.com # Date 1460428792 14400 # Node ID 3f271ee7d0da0bd604defef9e0d2fca268ae6139 # Parent e7747f518dcd7d9636607ab190d9c27a380e7728 [BTECH] VFO/MR Switching Enable Bug Fix
Fix a pair of bugs related to VFO/MR Switching.
releated to #3015
diff -r e7747f518dcd -r 3f271ee7d0da chirp/drivers/btech.py --- a/chirp/drivers/btech.py Mon Apr 11 21:02:43 2016 -0400 +++ b/chirp/drivers/btech.py Mon Apr 11 22:39:52 2016 -0400 @@ -1199,7 +1199,7 @@ if self.MODEL in ("UV-2501", "UV-5001"): vfomren = RadioSetting("settings2.vfomren", "VFO/MR switching", RadioSettingValueBoolean( - not _mem.settings2.vfomr)) + not _mem.settings2.vfomren)) advanced.append(vfomren)
reseten = RadioSetting("settings2.reseten", "RESET", @@ -1303,7 +1303,7 @@ if element.has_apply_callback(): LOG.debug("Using apply callback") element.run_apply_callback() - elif setting == "vfomr": + elif setting == "vfomren": setattr(obj, setting, not int(element.value)) elif element.value.get_mutable(): LOG.debug("Setting %s = %s" % (setting, element.value))