This commit is contained in:
MageDelfador 2025-10-15 14:27:18 +08:00
parent 84ccd98ebe
commit 85aff9c288

View file

@ -152,10 +152,6 @@ void do_flash() {
}
}
flash_available = false;
#ifdef ESP_PLATFORM
esp_partition_munmap(fd_map);
esp_partition_mmap(part0, 0, part0->size, ESP_PARTITION_MMAP_DATA, (const void **)&map, (esp_partition_mmap_handle_t *)&fd_map);
#endif
mutex_exit(&mtx_flash);
}
sem_release(&sem_flash);