mirror of
https://github.com/espressif/esp-idf.git
synced 2026-08-18 06:35:35 +03:00
Merge branch 'bugfix/IDFGH-2910_v4.0' into 'release/v4.0'
NVS: bugfix - iterator skipping version 1 blobs (v4.0) See merge request espressif/esp-idf!8193
This commit is contained in:
@@ -763,7 +763,9 @@ inline bool isIterableItem(Item& item)
|
||||
|
||||
inline bool isMultipageBlob(Item& item)
|
||||
{
|
||||
return (item.datatype == ItemType::BLOB_DATA && item.chunkIndex != 0);
|
||||
return (item.datatype == ItemType::BLOB_DATA &&
|
||||
!(item.chunkIndex == static_cast<uint8_t>(VerOffset::VER_0_OFFSET)
|
||||
|| item.chunkIndex == static_cast<uint8_t>(VerOffset::VER_1_OFFSET)));
|
||||
}
|
||||
|
||||
bool Storage::nextEntry(nvs_opaque_iterator_t* it)
|
||||
|
||||
Reference in New Issue
Block a user