Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Nodemcu Firmware
Commits
c01f6537
Commit
c01f6537
authored
Jul 06, 2017
by
Johny Mattsson
Committed by
Marcel Stör
Jul 05, 2017
Browse files
Unbreak build when SPIFFS_CACHE==0. (#2028)
parent
0c315ed0
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/spiffs/spiffs_config.h
View file @
c01f6537
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment