Unbreak build when SPIFFS_CACHE==0. (#2028)
This commit is contained in:
parent
0c315ed0ef
commit
c01f653736
|
@ -91,6 +91,11 @@
|
|||
#ifndef SPIFFS_CACHE_STATS
|
||||
#define SPIFFS_CACHE_STATS 1
|
||||
#endif
|
||||
#else
|
||||
// No SPIFFS_CACHE, also disable SPIFFS_CACHE_WR
|
||||
#ifndef SPIFFS_CACHE_WR
|
||||
#define SPIFFS_CACHE_WR 0
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// Always check header of each accessed page to ensure consistent state.
|
||||
|
|
Loading…
Reference in New Issue