In working with the NVS system, I'm looking to understand what the
call actually does to the NVS partition.
To "reset' the NVS partition, the sequence:
Code: Select all
nvs_flash_erase();
nvs_flash_init();
makes sense.
But the sequence:
Code: Select all
nvs_flash_deinit();
nvs_flash_init();
(used against an existing NVS partition that had namespaces and key:value pairs in use within it) seems to have no effect, leaving the contents of the NVS partition as it was before the call.
So what is nvs_flash_deinit() doing?
Thanks.