We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bfd5d5 commit 3b81557Copy full SHA for 3b81557
cores/esp8266/spiffs_api.cpp
@@ -120,11 +120,15 @@ extern "C" uint32_t _SPIFFS_block;
120
#define SPIFFS_PHYS_PAGE ((uint32_t) &_SPIFFS_page)
121
#define SPIFFS_PHYS_BLOCK ((uint32_t) &_SPIFFS_block)
122
123
+#ifndef SPIFFS_MAX_OPEN_FILES
124
+#define SPIFFS_MAX_OPEN_FILES 5
125
+#endif
126
+
127
FS SPIFFS = FS(FSImplPtr(new SPIFFSImpl(
128
SPIFFS_PHYS_ADDR,
129
SPIFFS_PHYS_SIZE,
130
SPIFFS_PHYS_PAGE,
131
SPIFFS_PHYS_BLOCK,
- 5)));
132
+ SPIFFS_MAX_OPEN_FILES)));
133
134
#endif
0 commit comments