[chirp_devel] [PATCH] [ft8x7] Stupid typo that prevent vfob memories to be modified
Marco Filippi IZ3GME
Thu Apr 19 08:37:15 PDT 2012
# HG changeset patch
# User Marco Filippi <iz3gme.marco at gmail.com>
# Date 1334849777 -7200
# Node ID 08fe5c653140a966926ecbbc832ee009692c9f65
# Parent 3caf35f8a005be15e9dfc339a9613579e15f02e2
[ft8x7] Stupid typo that prevent vfob memories to be modified.
Affect whole ft8x7 family
diff --git a/chirp/ft817.py b/chirp/ft817.py
--- a/chirp/ft817.py
+++ b/chirp/ft817.py
@@ -355,7 +355,7 @@
if mem.number in range(self.FIRST_VFOA_INDEX, self.LAST_VFOA_INDEX -1, -1):
_mem = self._memobj.vfoa[-self.LAST_VFOA_INDEX + mem.number]
elif mem.number in range(self.FIRST_VFOB_INDEX, self.LAST_VFOB_INDEX -1, -1):
- _mem = self._memobj.vfob[self.LAST_VFOB_INDEX + mem.number]
+ _mem = self._memobj.vfob[-self.LAST_VFOB_INDEX + mem.number]
elif mem.number in range(-2, -6, -1):
_mem = self._memobj.home[5 + mem.number]
elif mem.number == -1:
More information about the chirp_devel
mailing list