Fixing a memory leak when reading from SD card.

Fixing manual for audio-thru.
pull/32/head
Holger Wirtz 4 years ago
parent 1ceea6a6ed
commit 684ec329be
  1. 2
      config.h
  2. 7
      dexed_sd.cpp
  3. 2
      doc/manuals/MicroDexed-User_Manual/MicroDexed-User_Manual.md
  4. BIN
      doc/manuals/MicroDexed-User_Manual/MicroDexed-User_Manual.pdf
  5. 2
      doc/manuals/MicroDexed/MicroDexed.md
  6. BIN
      doc/manuals/MicroDexed/MicroDexed.pdf

@ -56,7 +56,7 @@
// sed -i.orig 's/^#define USB_MIDI_SYSEX_MAX 290/#define USB_MIDI_SYSEX_MAX 4104/' /usr/local/arduino-teensy/hardware/teensy/avr/cores/teensy3/usb_midi.h // sed -i.orig 's/^#define USB_MIDI_SYSEX_MAX 290/#define USB_MIDI_SYSEX_MAX 4104/' /usr/local/arduino-teensy/hardware/teensy/avr/cores/teensy3/usb_midi.h
//#define USB_MIDI_SYSEX_MAX 4104 //#define USB_MIDI_SYSEX_MAX 4104
#define VERSION "1.0.6" #define VERSION "1.0.7"
//************************************************************************************************* //*************************************************************************************************
//* DEVICE SETTINGS //* DEVICE SETTINGS

@ -870,8 +870,12 @@ bool get_bank_name(uint8_t b, char* name, uint8_t len)
} while (entry.isDirectory()); } while (entry.isDirectory());
if (entry.isDirectory()) if (entry.isDirectory())
{
entry.close();
sysex.close();
return (false); return (false);
}
strip_extension(entry.name(), name, len); strip_extension(entry.name(), name, len);
#ifdef DEBUG #ifdef DEBUG
@ -882,6 +886,7 @@ bool get_bank_name(uint8_t b, char* name, uint8_t len)
Serial.println(F("]")); Serial.println(F("]"));
#endif #endif
entry.close();
sysex.close(); sysex.close();
return (true); return (true);

@ -31,7 +31,7 @@ For the original Dexed/msfa software take a look at [Dexed on Github](https://gi
* USB-Slave (for connecting to a PC) * USB-Slave (for connecting to a PC)
* USB-Master (for connecting keyboards) * USB-Master (for connecting keyboards)
* Audio interface: * Audio interface:
* RCA stereo IN/OUT with audio THRU (daisy-chain your sound generators) * RCA stereo IN/OUT with audio THRU (daisy-chain your sound generators (adds a little bit of noise))
* Onboard effects: * Onboard effects:
* Chorus (mono) * Chorus (mono)
* Delay (mono, up to 500ms, with feedback) * Delay (mono, up to 500ms, with feedback)

@ -30,7 +30,7 @@ For the original Dexed/msfa software take a look at [Dexed on Github](https://gi
* USB-Slave (for connecting to a PC) * USB-Slave (for connecting to a PC)
* USB-Master (for connecting keyboards) * USB-Master (for connecting keyboards)
* Audio interface: * Audio interface:
* RCA stereo IN/OUT with audio THRU (daisy-chain your sound generators) * RCA stereo IN/OUT with audio THRU (daisy-chain your sound generators(adds a little bit of noise))
* Onboard effects: * Onboard effects:
* Chorus (mono) * Chorus (mono)
* Delay (mono, up to 500ms, with feedback) * Delay (mono, up to 500ms, with feedback)

Loading…
Cancel
Save