mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-04-18 09:25:06 +00:00
Change default alloc size to 4kB
This commit is contained in:
parent
17cdec1a1f
commit
b40d595a98
@ -21,7 +21,7 @@ bool SdmmcDevice::mountInternal(const std::string& newMountPath) {
|
|||||||
esp_vfs_fat_sdmmc_mount_config_t mount_config = {
|
esp_vfs_fat_sdmmc_mount_config_t mount_config = {
|
||||||
.format_if_mount_failed = config->formatOnMountFailed,
|
.format_if_mount_failed = config->formatOnMountFailed,
|
||||||
.max_files = config->maxOpenFiles,
|
.max_files = config->maxOpenFiles,
|
||||||
.allocation_unit_size = config->allocUnitSize,
|
.allocation_unit_size = 512 * 8,
|
||||||
.disk_status_check_enable = config->statusCheckEnabled,
|
.disk_status_check_enable = config->statusCheckEnabled,
|
||||||
.use_one_fat = false
|
.use_one_fat = false
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user