Commit c01f6537 authored by Johny Mattsson's avatar Johny Mattsson Committed by Marcel Stör
Browse files

Unbreak build when SPIFFS_CACHE==0. (#2028)

parent 0c315ed0
...@@ -91,6 +91,11 @@ ...@@ -91,6 +91,11 @@
#ifndef SPIFFS_CACHE_STATS #ifndef SPIFFS_CACHE_STATS
#define SPIFFS_CACHE_STATS 1 #define SPIFFS_CACHE_STATS 1
#endif #endif
#else
// No SPIFFS_CACHE, also disable SPIFFS_CACHE_WR
#ifndef SPIFFS_CACHE_WR
#define SPIFFS_CACHE_WR 0
#endif
#endif #endif
// Always check header of each accessed page to ensure consistent state. // Always check header of each accessed page to ensure consistent state.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment