[chirp_devel] [PATCH] [IC-Q7A] Code Cleanup

Jim Unroe
Thu Dec 26 11:22:22 PST 2013


# HG changeset patch
# User Jim Unroe <rock.unroe at gmail.com>
# Date 1388085726 18000
# Node ID df739233b8a6db64c5abceaa274b4b5a4adfcc61
# Parent  9c4391554a3b5b508408c9911047599bc09113eb
[IC-Q7A] Code Cleanup
forgot to clean up a section of code that I borrowed from another driver
related to #1317

diff -r 9c4391554a3b -r df739233b8a6 chirp/icq7.py
--- a/chirp/icq7.py	Wed Dec 25 17:21:37 2013 -0500
+++ b/chirp/icq7.py	Thu Dec 26 14:22:06 2013 -0500
@@ -302,11 +302,8 @@
         _settings = self._memobj.settings
         for element in settings:
             if not isinstance(element, RadioSetting):
-                if element.get_name() == "fm_preset" :
-                    self._set_fm_preset(element)
-                else:
-                    self.set_settings(element)
-                    continue
+                self.set_settings(element)
+                continue
             else:
                 try:
                     name = element.get_name()



More information about the chirp_devel mailing list