# HG changeset patch # User Rick DeWitt # Date 1567516504 25200 # Tue Sep 03 06:15:04 2019 -0700 # Node ID 71eca0d98e427192ffb9702062977c08f47e0a89 # Parent 32bc21dadb60e762e4551468c44e7cf539edc32d [ic2730] Fix for corrupted bank index, fixes issue #7031 Apply a low-order mask in _get_bank module. Issue #7031 diff -r 32bc21dadb60 -r 71eca0d98e42 chirp/drivers/ic2730.py --- a/chirp/drivers/ic2730.py Tue Aug 27 18:37:56 2019 -0700 +++ b/chirp/drivers/ic2730.py Tue Sep 03 06:15:04 2019 -0700 @@ -312,6 +312,7 @@ def _get_bank(self, loc): _bank = self._memobj.bank_info[loc] + _bank.bank = _bank.bank & 0x1F # Bad index filter, fix issue #7031 if _bank.bank == 0x1F: return None else: