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;