From b65bc2df8f4c71740f814225cc2b619ff79393d9 Mon Sep 17 00:00:00 2001 From: Wouter van der Put Date: Sun, 28 Nov 2021 19:31:36 +0100 Subject: [PATCH] Fix: add missing SPIFFS.begin() (#443) Without this fix, there is no sound and the serial monitor shows: Starting up... [E][vfs_api.cpp:22] open(): File system is not mounted [E][vfs_api.cpp:22] open(): File system is not mounted BEGIN... MIDI done MIDI done After this fix there is sound and no error on the serial monitor. Then change is similar to the code in https://github.com/earlephilhower/ESP8266Audio/blob/master/examples/PlayMP3FromSPIFFS/PlayMP3FromSPIFFS.ino --- examples/PlayMIDIFromSPIFFS/PlayMIDIFromSPIFFS.ino | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/PlayMIDIFromSPIFFS/PlayMIDIFromSPIFFS.ino b/examples/PlayMIDIFromSPIFFS/PlayMIDIFromSPIFFS.ino index dcfa8f9..da9f685 100644 --- a/examples/PlayMIDIFromSPIFFS/PlayMIDIFromSPIFFS.ino +++ b/examples/PlayMIDIFromSPIFFS/PlayMIDIFromSPIFFS.ino @@ -25,6 +25,7 @@ void setup() WiFi.mode(WIFI_OFF); Serial.begin(115200); + SPIFFS.begin(); Serial.println("Starting up...\n"); audioLogger = &Serial;