mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
refactor(esp_partition): Expose function for unloading partitions
Closes https://github.com/espressif/esp-idf/issues/12625
This commit is contained in:
@@ -331,7 +331,7 @@ esp_err_t esp_partition_file_munmap(void)
|
||||
return ESP_ERR_NOT_FOUND;
|
||||
}
|
||||
|
||||
unload_partitions();
|
||||
esp_partition_unload_all();
|
||||
|
||||
#ifdef CONFIG_ESP_PARTITION_ENABLE_STATS
|
||||
free(s_esp_partition_stat_sector_erase_count);
|
||||
|
Reference in New Issue
Block a user