Skip to content

Commit 99ce11d

Browse files
Merge branch 'fix/warning_in_flash_encryption_example' into 'master'
fix(security): Fix flash encryption example warning See merge request espressif/esp-idf!33693
2 parents 2653ed5 + a621852 commit 99ce11d

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

examples/security/flash_encryption/main/flash_encrypt_fatfs.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ static size_t example_fatfs_partition_test(const esp_partition_t* partition, con
6868
(long unsigned int)partition->size
6969
);
7070

71-
ESP_LOGI(TAG, "Erasing partition");
72-
ESP_ERROR_CHECK(esp_partition_erase_range(partition, 0, partition->size));
73-
7471
ESP_LOGI(TAG, "Formatting FAT filesystem");
7572
err = esp_vfs_fat_spiflash_format_rw_wl(base_path, partition->label);
7673
if (err != ESP_OK) {

0 commit comments

Comments
 (0)