diff --git a/firmware/winterbloom_bhb/bhb.py b/firmware/winterbloom_bhb/bhb.py index 9b8a462..b048916 100644 --- a/firmware/winterbloom_bhb/bhb.py +++ b/firmware/winterbloom_bhb/bhb.py @@ -161,7 +161,7 @@ def select_from_list_using_cv(self, list, cv, low=None, high=None): high = self.max_cv cv = min(high, max(low, cv)) - count = len(list) + count = len(list) - 1 span = high - low value = cv - low index = int((value / span) * count)