From b40d595a98b4c0dd48f725687e3d80dd0803136e Mon Sep 17 00:00:00 2001 From: Ken Van Hoeylandt Date: Mon, 2 Mar 2026 21:46:50 +0100 Subject: [PATCH] Change default alloc size to 4kB --- Tactility/Source/hal/sdcard/SdmmcDevice.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tactility/Source/hal/sdcard/SdmmcDevice.cpp b/Tactility/Source/hal/sdcard/SdmmcDevice.cpp index ae74e6ce..dbd17091 100644 --- a/Tactility/Source/hal/sdcard/SdmmcDevice.cpp +++ b/Tactility/Source/hal/sdcard/SdmmcDevice.cpp @@ -21,7 +21,7 @@ bool SdmmcDevice::mountInternal(const std::string& newMountPath) { esp_vfs_fat_sdmmc_mount_config_t mount_config = { .format_if_mount_failed = config->formatOnMountFailed, .max_files = config->maxOpenFiles, - .allocation_unit_size = config->allocUnitSize, + .allocation_unit_size = 512 * 8, .disk_status_check_enable = config->statusCheckEnabled, .use_one_fat = false };