Fix ESP32 compile
This commit is contained in:
1 parent
c075835c07
commit
d0089c1f4a
1 file changed
+2
@@ -31,7 +31,9 @@ AudioFileSourceFS::AudioFileSourceFS(FS &fs, const char *filename)
|
||||
|
||||
bool AudioFileSourceFS::open(const char *filename)
|
||||
{
|
||||
#ifndef ESP32
|
||||
filesystem->begin();
|
||||
#endif
|
||||
f = filesystem->open(filename, "r");
|
||||
return f;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user