[chirp_devel] [PATCH] Bug #4769

SASANO Takayoshi
Fri Apr 28 06:43:39 PDT 2017


# HG changeset patch
# User SASANO Takayoshi <uaa at mx5.nisiq.net>
# Date 1493387003 -32400
#      Fri Apr 28 22:43:23 2017 +0900
# Node ID 83a16e525434395133159a5ef1095604a75082cb
# Parent  7fe5f7b14be57479d4d37c9e204caf6a076b5d18
Bug #4769
remove meaningless _mem.set_raw("\x00" * (_mem.size() / 8)) line,
all elements are filled when setting/emptying entry.

diff -r 7fe5f7b14be5 -r 83a16e525434 chirp/drivers/icp7.py
--- a/chirp/drivers/icp7.py	Thu Apr 13 17:31:54 2017 -0700
+++ b/chirp/drivers/icp7.py	Fri Apr 28 22:43:23 2017 +0900
@@ -187,8 +187,6 @@
         _skp = self._memobj.skips[byte]
         _psk = self._memobj.pskips[byte]
 
-        _mem.set_raw("\x00" * (_mem.size() / 8))
-
         if mem.empty:
             _usd |= bit
 



More information about the chirp_devel mailing list