[chirp_devel] [PATCH] [leixen] Revert unneeded patch

Brian Dickman
Sat Sep 3 08:38:13 PDT 2016


# HG changeset patch
# User Brian Dickman <brian.maybe at gmail.com>
# Date 1472917020 25200
#      Sat Sep 03 08:37:00 2016 -0700
# Node ID 3d8359621d43d5713869497d17182d6a43aebd67
# Parent  617ef175811dcf0d49b8dba8769e845972ebf672
[leixen] Revert 94db968fce11, unneeded patch that was refactored

diff -r 617ef175811d -r 3d8359621d43 chirp/drivers/leixen.py
--- a/chirp/drivers/leixen.py Wed Aug 31 21:37:06 2016 -0700
+++ b/chirp/drivers/leixen.py Sat Sep 03 08:37:00 2016 -0700
@@ -356,15 +356,6 @@
     ack = radio.pipe.read(8)


-class LeixenMemory(chirp_common.Memory):
-    '''Leixen memory which supports non-standard tones and codes'''
-    def __init__(self):
-        chirp_common.Memory.__init__(self)
-
-        self._valid_map["rtone"] = TONES
-        self._valid_map["ctone"] = TONES
-
-
 # Declaring Aliases
 class LT898UV(chirp_common.Alias):
     VENDOR = "LUITON"
@@ -475,7 +466,7 @@
         _mem = self._memobj.memory[number - 1]
         _name = self._memobj.name[number - 1]

-        mem = LeixenMemory()
+        mem = chirp_common.Memory()
         mem.number = number

         if _mem.get_raw()[:4] == "\xFF\xFF\xFF\xFF":



More information about the chirp_devel mailing list