1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Reapply fix for redundant FS size check (#6666)

My fix for a redundant FS size check was merged, (bde1ce0e01 (diff-6690102111beb33824c743666a874d7c)) but later reverted (a389a995fb (diff-6690102111beb33824c743666a874d7c)) I guess by accident.
This commit is contained in:
Clemens Kirchgatterer 2019-10-28 01:40:35 +01:00 committed by david gauchard
parent ba50bd57b8
commit e4c6a7a73a

View File

@ -171,11 +171,6 @@ public:
bool begin() override
{
#if defined(ARDUINO) && !defined(CORE_MOCK)
if (&_FS_end <= &_FS_start)
return false;
#endif
if (SPIFFS_mounted(&_fs) != 0) {
return true;
}