[chirp_devel] [PATCH] [bf888] Fix get_raw_memory() index
Dan Smith
Sat Sep 7 16:22:15 PDT 2013
# HG changeset patch
# User Dan Smith <dsmith at danplanet.com>
# Date 1378596131 25200
# Node ID 1e97061342fcb64c298ca3821f385954842d0d2a
# Parent bc4607851214a20f80aec300b7148fb5d8773758
[bf888] Fix get_raw_memory() index
This makes the get_raw_memory() function properly return the n-1'th
memory.
Related to #701
diff -r bc4607851214 -r 1e97061342fc chirp/h777.py
--- a/chirp/h777.py Sat Sep 07 16:04:20 2013 -0700
+++ b/chirp/h777.py Sat Sep 07 16:22:11 2013 -0700
@@ -265,7 +265,7 @@
do_upload(self)
def get_raw_memory(self, number):
- return repr(self._memobj.memory[number])
+ return repr(self._memobj.memory[number - 1])
def get_memory(self, number):
_mem = self._memobj.memory[number - 1]
More information about the chirp_devel
mailing list