Explicitly reference SPIFFS namespace File
Ensure we grap the SPIFFS version of file by prepending the fs:: to the File local object. Fixes #93.
This commit is contained in:
1 parent
7f5ad4f61c
commit
34046a3ae0
1 file changed
+1
-1
@@ -42,7 +42,7 @@ class AudioFileSourceSPIFFS : public AudioFileSource
|
||||
virtual uint32_t getPos() override { if (!f) return 0; else return f.position(); };
|
||||
|
||||
private:
|
||||
File f;
|
||||
fs::File f;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user