From 1f9f39fe46fce1b1cde1c66c791fd4474e1b54e9 Mon Sep 17 00:00:00 2001 From: Shivani Tipnis Date: Mon, 24 Jun 2019 01:31:18 +0530 Subject: [PATCH] nvs_util: Set previous page state to full before creating new page --- .../nvs_partition_generator/nvs_partition_gen.py | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) 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 64563869d..e2cefa4d9 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('