From: Shivani Tipnis Date: Sun, 23 Jun 2019 20:01:18 +0000 (+0530) Subject: nvs_util: Set previous page state to full before creating new page X-Git-Tag: v4.0-beta1~185^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1f9f39fe46fce1b1cde1c66c791fd4474e1b54e9;p=esp-idf nvs_util: Set previous page state to full before creating new page --- diff --git a/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py b/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py index 64563869df..e2cefa4d97 100755 --- a/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py +++ b/components/nvs_flash/nvs_partition_generator/nvs_partition_gen.py @@ -299,9 +299,6 @@ class Page(object): chunk_count = chunk_count + 1 if remaining_size or (tailroom - chunk_size) < Page.SINGLE_ENTRY_SIZE: - if page_header[0:4] != Page.FULL: - page_state_full_seq = Page.FULL - struct.pack_into('