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)
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user