Fix ESP32 compile

This commit is contained in:
Earle F. Philhower, III committed 2019-04-13 17:40:28 -07:00
1 parent c075835c07
commit d0089c1f4a
1 file changed
+2
+2
View File
@@ -31,7 +31,9 @@ AudioFileSourceFS::AudioFileSourceFS(FS &fs, const char *filename)
bool AudioFileSourceFS::open(const char *filename) bool AudioFileSourceFS::open(const char *filename)
{ {
#ifndef ESP32
filesystem->begin(); filesystem->begin();
#endif
f = filesystem->open(filename, "r"); f = filesystem->open(filename, "r");
return f; return f;
} }