[chirp_devel] [PATCH] Memory bounds are inclusive. #8991

Kosta A.
Tue Jun 22 23:00:21 PDT 2021


# HG changeset patch
# User Kosta A. <ve7kcy at gmail.com>
# Date 1624378359 25200
#      Tue Jun 22 09:12:39 2021 -0700
# Branch generic
# Node ID e1e3497b8f7be6f6641a53843479be161c51d0f4
# Parent  f586574bc8786fd6bef1e5d54d08d381c81edd47
Memory bounds are inclusive. #8991

diff --git a/chirp/drivers/generic_csv.py b/chirp/drivers/generic_csv.py
--- a/chirp/drivers/generic_csv.py
+++ b/chirp/drivers/generic_csv.py
@@ -99,7 +99,7 @@
         rf.has_bank = False
         rf.requires_call_lists = False
         rf.has_implicit_calls = False
-        rf.memory_bounds = (0, len(self.memories))
+        rf.memory_bounds = (0, len(self.memories)-1)
         rf.has_infinite_number = True
         rf.has_nostep_tuning = True
         rf.has_comment = True



More information about the chirp_devel mailing list