From c793ea79587029cb4587b301bbc5e7762c7307c9 Mon Sep 17 00:00:00 2001 From: dronus Date: Thu, 21 Nov 2019 01:28:24 +0100 Subject: [PATCH] Fixed wrong bank / voice limits in dexed_sysex.cpp --- dexed_sysex.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dexed_sysex.cpp b/dexed_sysex.cpp index f865f6a..3beff96 100644 --- a/dexed_sysex.cpp +++ b/dexed_sysex.cpp @@ -223,8 +223,8 @@ bool load_sysex(uint8_t b, uint8_t v, uint8_t instance_id) #if DEBUG bool found = false; #endif - v = constrain(v, 1, MAX_VOICES); - b = constrain(b, 1, MAX_BANKS); + v = constrain(v, 0, MAX_VOICES); + b = constrain(b, 0, MAX_BANKS); if (sd_card_available) {