From 66de6d770a8f7a5d89340514323e4f9235c985f1 Mon Sep 17 00:00:00 2001 From: Alexander Malishev Date: Sat, 19 May 2018 18:03:37 +0400 Subject: [PATCH] HAL_ChibiOS: Enable reentrancy on FatFS sybsystem --- libraries/AP_HAL_ChibiOS/hwdef/common/ffconf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/AP_HAL_ChibiOS/hwdef/common/ffconf.h b/libraries/AP_HAL_ChibiOS/hwdef/common/ffconf.h index c3d2b53f2c..ff12e35eec 100644 --- a/libraries/AP_HAL_ChibiOS/hwdef/common/ffconf.h +++ b/libraries/AP_HAL_ChibiOS/hwdef/common/ffconf.h @@ -246,7 +246,7 @@ / lock control is independent of re-entrancy. */ -#define _FS_REENTRANT 0 +#define _FS_REENTRANT 1 #define _FS_TIMEOUT MS2ST(1000) #define _SYNC_t semaphore_t* /* The option _FS_REENTRANT switches the re-entrancy (thread safe) of the FatFs