Fix (error when using only one instance).

pull/45/head
Holger Wirtz 3 years ago
parent 3b095746de
commit 920b653385
  1. 2
      MicroDexed.ino

@ -1704,7 +1704,7 @@ void init_configuration(void)
configuration.performance.fx_number = FX_NUM_DEFAULT; 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.bank[instance_id] = SYSEXBANK_DEFAULT;
configuration.performance.voice[instance_id] = SYSEXSOUND_DEFAULT; configuration.performance.voice[instance_id] = SYSEXSOUND_DEFAULT;

Loading…
Cancel
Save