[chirp_devel] [PATCH] [bf888] Fix get_raw_memory() index
7 Sep
2013
7 Sep
'13
4:22 p.m.
# HG changeset patch # User Dan Smith dsmith@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]
4124
Age (days ago)
4124
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dan Smith