mirror of
https://github.com/espressif/esp-idf.git
synced 2026-06-04 20:26:38 +03:00
bugfix (nvs_flash): Fix nvs_flash_init_partition_ptr
Added unit test case. Closes https://github.com/espressif/esp-idf/pull/8755 Signed-off-by: Jakob Hasse <jakob.hasse@espressif.com>
This commit is contained in:
@@ -106,7 +106,7 @@ extern "C" esp_err_t nvs_flash_init_partition_ptr(const esp_partition_t *partiti
|
||||
}
|
||||
|
||||
esp_err_t init_res = NVSPartitionManager::get_instance()->init_custom(part,
|
||||
partition->address / SPI_FLASH_SEC_SIZE,
|
||||
0,
|
||||
partition->size / SPI_FLASH_SEC_SIZE);
|
||||
|
||||
if (init_res != ESP_OK) {
|
||||
|
||||
Reference in New Issue
Block a user