Fixed wrong bank / voice limits in dexed_sysex.cpp

pull/18/head
dronus 5 years ago
parent e0971a823f
commit c793ea7958
  1. 4
      dexed_sysex.cpp

@ -223,8 +223,8 @@ bool load_sysex(uint8_t b, uint8_t v, uint8_t instance_id)
#if DEBUG #if DEBUG
bool found = false; bool found = false;
#endif #endif
v = constrain(v, 1, MAX_VOICES); v = constrain(v, 0, MAX_VOICES);
b = constrain(b, 1, MAX_BANKS); b = constrain(b, 0, MAX_BANKS);
if (sd_card_available) if (sd_card_available)
{ {

Loading…
Cancel
Save