R0.15 patch 1

November 11, 2022

FF_FS_LOCK does not complile.
This commit is contained in:
Christopher Williams
2022-11-14 17:38:57 -07:00
parent 04d5545d67
commit f81eb28dec
+1 -1
View File
@@ -900,7 +900,7 @@ static int lock_volume ( /* 1:Ok, 0:timeout */
int rv; int rv;
#if FS_LOCK #if FF_FS_LOCK
rv = ff_mutex_take(fs->ldrv); /* Lock the volume */ rv = ff_mutex_take(fs->ldrv); /* Lock the volume */
if (rv && syslock) { /* System lock reqiered? */ if (rv && syslock) { /* System lock reqiered? */
rv = ff_mutex_take(FF_VOLUMES); /* Lock the system */ rv = ff_mutex_take(FF_VOLUMES); /* Lock the system */