[chirp_devel] [PATCH 2 of 2] [thd72] Add get_raw_memory() method for TH-D72 clone mode driver. #697
Tom Hayward
Thu Mar 14 16:56:28 PDT 2013
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1363305357 25200
# Node ID 90e7d476244bb3bee563effe11d77a814d1f8902
# Parent b977e6df643c89d953aad86223eeaf05dc81288f
[thd72] Add get_raw_memory() method for TH-D72 clone mode driver. #697
diff -r b977e6df643c -r 90e7d476244b chirp/thd72.py
--- a/chirp/thd72.py Thu Mar 14 16:54:46 2013 -0700
+++ b/chirp/thd72.py Thu Mar 14 16:55:57 2013 -0700
@@ -243,6 +243,10 @@
self._memobj.wx_name[number].name = name[:8]
self.add_dirty_block(self._memobj.wx_name[number])
+ def get_raw_memory(self, number):
+ return repr(self._memobj.memory[number]) + \
+ repr(self._memobj.flag[(number)])
+
def get_memory(self, number):
if isinstance(number, str):
try:
More information about the chirp_devel
mailing list