mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-31 19:24:33 +02:00
nvs_util: Fix to support write of multiple singlepage big blob data Closes https://github.com/espressif/esp-idf/issues/3011
(cherry picked from commit 21688e3bffee80ddfbef5364a44dd1821e28c776)
This commit is contained in:
@@ -379,7 +379,7 @@ class Page(object):
|
|||||||
total_entry_count = data_entry_count + 1 # +1 for the entry header
|
total_entry_count = data_entry_count + 1 # +1 for the entry header
|
||||||
|
|
||||||
# Check if page is already full and new page is needed to be created right away
|
# Check if page is already full and new page is needed to be created right away
|
||||||
if encoding == "string":
|
if encoding in ["string", "hex2bin", "binary", "base64"]:
|
||||||
if (self.entry_num + total_entry_count) >= Page.PAGE_PARAMS["max_entries"]:
|
if (self.entry_num + total_entry_count) >= Page.PAGE_PARAMS["max_entries"]:
|
||||||
raise PageFullError()
|
raise PageFullError()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user