Skip to content

Commit e4c6a7a

Browse files
everslickd-a-v
authored andcommitted
Reapply fix for redundant FS size check (#6666)
My fix for a redundant FS size check was merged, (bde1ce0#diff-6690102111beb33824c743666a874d7c) but later reverted (a389a99#diff-6690102111beb33824c743666a874d7c) I guess by accident.
1 parent ba50bd5 commit e4c6a7a

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

cores/esp8266/spiffs_api.h

-5
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,6 @@ class SPIFFSImpl : public FSImpl
171171

172172
bool begin() override
173173
{
174-
#if defined(ARDUINO) && !defined(CORE_MOCK)
175-
if (&_FS_end <= &_FS_start)
176-
return false;
177-
#endif
178-
179174
if (SPIFFS_mounted(&_fs) != 0) {
180175
return true;
181176
}

0 commit comments

Comments
 (0)