[chirp_devel] [PATCH] Fix bug with TH-UVF8D settings
Eric Allen
Sun Jun 14 12:56:27 PDT 2015
# HG changeset patch
# User Eric Allen <eric at hackerengineer.net>
# Date 1434311780 25200
# Sun Jun 14 12:56:20 2015 -0700
# Node ID c2a01e638acadd390fdc9f87f092b67be1acd342
# Parent 9f9c88238ee5a1d0327dc47cf1e163badf62bfbd
Fix bug with TH-UVF8D settings
The build now passes for me with the test .img file
diff -r 9f9c88238ee5 -r c2a01e638aca chirp/drivers/th_uvf8d.py
--- a/chirp/drivers/th_uvf8d.py Tue Jun 09 16:34:51 2015 -0700
+++ b/chirp/drivers/th_uvf8d.py Sun Jun 14 12:56:20 2015 -0700
@@ -481,7 +481,7 @@
_settings = self._memobj.settings
group = RadioSettingGroup("basic", "Basic")
- top = RadioSettings(basic)
+ top = RadioSettings(group)
group.append(RadioSetting(
"mode", "Mode",
@@ -630,7 +630,6 @@
_settings.rxsave = 0
continue
if element.get_name().endswith('_channel'):
- LOG.debug(element.value, type(element.value))
setattr(_settings, element.get_name(), int(element.value) - 1)
continue
if not isinstance(element, RadioSetting):
More information about the chirp_devel
mailing list