10000 fix SPIFFS when not enabled in build options by d-a-v · Pull Request #5249 · esp8266/Arduino · GitHub
[go: up one dir, main page]

Skip to content

fix SPIFFS when not enabled in build options #5249

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 12 commits into from
Dec 6, 2018
Prev Previous commit
fix CI
  • Loading branch information
d-a-v committed Dec 6, 2018
commit cdd492cf9e5d15c47831bf8ca0d54a5490896d0b
2 changes: 1 addition & 1 deletion cores/esp8266/spiffs_api.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ class SPIFFSImpl : public FSImpl

bool begin() override
{
#ifdef ARDUINO
#if defined(ARDUINO) && !defined(CORE_MOCK)
if (&_SPIFFS_end <= &_SPIFFS_start)
return false;
#endif
Expand Down
0