AP_HAL_ESP32: reduce sdcard mount config max_files

Signed-off-by: Rhys Mainwaring <rhys.mainwaring@me.com>
This commit is contained in:
Rhys Mainwaring 2024-11-27 12:32:01 +00:00 committed by Thomas Watson
parent a9ecb4428b
commit eecac5eead

View File

@ -207,7 +207,7 @@ void mount_sdcard_spi()
ESP_LOGI(TAG, "Initializing SD card as SDSPI");
esp_vfs_fat_sdmmc_mount_config_t mount_config = {
.format_if_mount_failed = false,
.max_files = 10,
.max_files = 5,
.allocation_unit_size = 16 * 1024
};