Skip to content

Commit

Permalink
Add using fs::SPIFFSConfig to FS.h (esp8266#6324)
Browse files Browse the repository at this point in the history
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
  • Loading branch information
earlephilhower authored Jul 21, 2019
1 parent ac25f32 commit 93ef2e2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cores/esp8266/FS.h
Original file line number Diff line number Diff line change
Expand Up @@ -241,6 +241,7 @@ using fs::SeekCur;
using fs::SeekEnd;
using fs::FSInfo;
using fs::FSConfig;
using fs::SPIFFSConfig;
#endif //FS_NO_GLOBALS

#if !defined(NO_GLOBAL_INSTANCES) && !defined(NO_GLOBAL_SPIFFS)
Expand Down

0 comments on commit 93ef2e2

Please sign in to comment.