mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +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:
parent
ba50bd57b8
commit
e4c6a7a73a
@ -171,11 +171,6 @@ public:
|
|||||||
|
|
||||||
bool begin() override
|
bool begin() override
|
||||||
{
|
{
|
||||||
#if defined(ARDUINO) && !defined(CORE_MOCK)
|
|
||||||
if (&_FS_end <= &_FS_start)
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (SPIFFS_mounted(&_fs) != 0) {
|
if (SPIFFS_mounted(&_fs) != 0) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user