From 920b653385c48cb6e4227ebe08a3d5e03aad60fb Mon Sep 17 00:00:00 2001 From: Holger Wirtz Date: Mon, 12 Jul 2021 14:17:00 +0200 Subject: [PATCH] Fix (error when using only one instance). --- MicroDexed.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MicroDexed.ino b/MicroDexed.ino index 5ac5daf..49b84e9 100644 --- a/MicroDexed.ino +++ b/MicroDexed.ino @@ -1704,7 +1704,7 @@ void init_configuration(void) configuration.performance.fx_number = FX_NUM_DEFAULT; - for (uint8_t instance_id = 0; instance_id < MAX_DEXED; instance_id++) + for (uint8_t instance_id = 0; instance_id < NUM_DEXED; instance_id++) { configuration.performance.bank[instance_id] = SYSEXBANK_DEFAULT; configuration.performance.voice[instance_id] = SYSEXSOUND_DEFAULT;