summaryrefslogtreecommitdiff
path: root/lib/fatfs/src
diff options
context:
space:
mode:
authorjacqueline <me@jacqueline.id.au>2024-04-09 11:04:42 +1000
committerjacqueline <me@jacqueline.id.au>2024-04-09 11:04:42 +1000
commit6e73f1a22edddf19a2813c3fdfe67664e04629b3 (patch)
treebaad85a99e2e30db5bcca690dbc6250ae8756436 /lib/fatfs/src
parent96b62321c33ff5e146d52416dc5da3f0c240b4b0 (diff)
downloadtangara-fw-6e73f1a22edddf19a2813c3fdfe67664e04629b3.tar.gz
Upgrade fatfs component version
Diffstat (limited to 'lib/fatfs/src')
-rw-r--r--lib/fatfs/src/ffconf.h4
1 files changed, 2 insertions, 2 deletions
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()