Add functionality to use files as MIDI data to send to simulated device

This commit is contained in:
John Stäck 2019-08-05 14:11:25 +02:00
parent 3b405adebb
commit 4dbca53871
5 changed files with 91 additions and 66 deletions

View file

@ -63,7 +63,7 @@ int16_t EEPROMClass::setStorage(const char* filename, bool write)
autoUpdate = write;
storage = fopen(filename, "rb");
//If only reading, fail if file does not exist (makes no sense otherwise)
if(!storage && !autoUpdate) {