[chirp_devel] [PATCH] [KG-UV8D] Set empty memory was broken
Marco Filippi IZ3GME
Sun Jan 11 11:30:09 PST 2015
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1421004585 -3600
# dom gen 11 20:29:45 2015 +0100
# Node ID 0df127f057dcb923e3b0ddd70c8511722f4f43eb
# Parent 5c8cf7aa6ab3d12598a3eaabf69ffdc074c4bcd2
[KG-UV8D] Set empty memory was broken
Fix #2183
diff --git a/chirp/kguv8d.py b/chirp/kguv8d.py
--- a/chirp/kguv8d.py
+++ b/chirp/kguv8d.py
@@ -621,7 +621,7 @@
if mem.empty:
_mem.set_raw("\x00" * (_mem.size() / 8))
self._memobj.valid[number] = 0
- self._memobj.names[number] = ""
+ self._memobj.names[number].set_raw("\x00" * (_nam.size() / 8))
return
_mem.rxfreq = int(mem.freq / 10)
More information about the chirp_devel
mailing list