From 6e73f1a22edddf19a2813c3fdfe67664e04629b3 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Tue, 9 Apr 2024 11:04:42 +1000 Subject: Upgrade fatfs component version --- lib/fatfs/src/ffconf.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/fatfs/src') diff --git a/lib/fatfs/src/ffconf.h b/lib/fatfs/src/ffconf.h index cc28510a..77bd5981 100644 --- a/lib/fatfs/src/ffconf.h +++ b/lib/fatfs/src/ffconf.h @@ -36,7 +36,7 @@ /* This option switches f_mkfs() function. (0:Disable or 1:Enable) */ -#define FF_USE_FASTSEEK 1 +#define FF_USE_FASTSEEK CONFIG_FATFS_USE_FASTSEEK /* This option switches fast seek function. (0:Disable or 1:Enable) */ @@ -296,7 +296,7 @@ #define FF_FS_REENTRANT 1 -#define FF_FS_TIMEOUT (portMAX_DELAY) +#define FF_FS_TIMEOUT (CONFIG_FATFS_TIMEOUT_MS / portTICK_PERIOD_MS) /* The option FF_FS_REENTRANT switches the re-entrancy (thread safe) of the FatFs / module itself. Note that regardless of this option, file access to different / volume is always re-entrant and volume control functions, f_mount(), f_mkfs() -- cgit v1.2.3