Skip to content

Commit 93ef2e2

Browse files
Add using fs::SPIFFSConfig to FS.h (esp8266#6324)
The SPIFFS config object was defined in FS.h in its own namespace, but is not made easily available like other SPIFFS and FS objects because of a missing `using` statement. Add it in FS.h Fixes esp8266#6322
1 parent ac25f32 commit 93ef2e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cores/esp8266/FS.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -241,6 +241,7 @@ using fs::SeekCur;
241241
using fs::SeekEnd;
242242
using fs::FSInfo;
243243
using fs::FSConfig;
244+
using fs::SPIFFSConfig;
244245
#endif //FS_NO_GLOBALS
245246

246247
#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SPIFFS)

0 commit comments

Comments
 (0)