From 1324b8d097e351edf1403544d2363b6c26a70396 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B9=8B=E5=BF=83?= <43141129+wy1107412334@users.noreply.github.com> Date: Sun, 17 Mar 2024 04:09:50 +0800 Subject: [PATCH] Fix: build error when macro OS_TYPE in ffsystem.c is 2 Removed an extra space. --- source/ffsystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ffsystem.c b/source/ffsystem.c index 2657fe2..c6e897e 100644 --- a/source/ffsystem.c +++ b/source/ffsystem.c @@ -162,7 +162,7 @@ int ff_mutex_take ( /* Returns 1:Succeeded or 0:Timeout */ #elif OS_TYPE == 2 /* uC/OS-II */ OS_ERR err; - OSMutexPend(Mutex[vol], FF_FS_TIMEOUT, &err)); + OSMutexPend(Mutex[vol], FF_FS_TIMEOUT, &err); return (int)(err == OS_NO_ERR); #elif OS_TYPE == 3 /* FreeRTOS */