mirror of
https://github.com/pellepl/spiffs.git
synced 2026-10-02 13:57:36 +00:00
Address review comment
This commit is contained in:
@@ -110,6 +110,13 @@
|
|||||||
// Maximum length of the metadata associated with an object.
|
// Maximum length of the metadata associated with an object.
|
||||||
// Setting to non-zero value enables metadata-related API but also
|
// Setting to non-zero value enables metadata-related API but also
|
||||||
// changes the on-disk format, so the change is not backward-compatible.
|
// changes the on-disk format, so the change is not backward-compatible.
|
||||||
|
//
|
||||||
|
// Do note: the meta length must never exceed
|
||||||
|
// logical_page_size - (SPIFFS_OBJ_NAME_LEN + 64)
|
||||||
|
//
|
||||||
|
// This is derived from following:
|
||||||
|
// logical_page_size - (SPIFFS_OBJ_NAME_LEN + sizeof(spiffs_page_header) +
|
||||||
|
// spiffs_object_ix_header fields + at least some LUT entries)
|
||||||
#ifndef SPIFFS_OBJ_META_LEN
|
#ifndef SPIFFS_OBJ_META_LEN
|
||||||
#define SPIFFS_OBJ_META_LEN (0)
|
#define SPIFFS_OBJ_META_LEN (0)
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user