[chirp_devel] [PATCH] VX8: get_raw_memory() was off by one, making #1735 difficult to troubleshoot
Tom Hayward
Fri Jan 20 11:15:34 PST 2017
# HG changeset patch
# User Tom Hayward <tom at tomh.us>
# Date 1484896035 28800
# Thu Jan 19 23:07:15 2017 -0800
# Node ID 0bbcdaad7e2305e10030ab9bf0b7220d68a52a7c
# Parent a2d508fa84807970d3844f66597f4dc5938ce8c7
VX8: get_raw_memory() was off by one, making #1735 difficult to troubleshoot.
diff -r a2d508fa8480 -r 0bbcdaad7e23 chirp/drivers/vx8.py
--- a/chirp/drivers/vx8.py Fri Jan 20 10:31:46 2017 -0800
+++ b/chirp/drivers/vx8.py Thu Jan 19 23:07:15 2017 -0800
@@ -550,7 +550,7 @@
return rf
def get_raw_memory(self, number):
- return repr(self._memobj.memory[number])
+ return repr(self._memobj.memory[number-1])
def _checksums(self):
return [yaesu_clone.YaesuChecksum(0x064A, 0x06C8),
More information about the chirp_devel
mailing list