From ee740f627f000cf334fd8b1b1ee1045a04edcd1c Mon Sep 17 00:00:00 2001 From: li_zan <371442490@qq.com> Date: Sat, 27 Mar 2021 17:20:18 +0800 Subject: [PATCH] change config for fs2 --- fs/vfs/disk/disk.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fs/vfs/disk/disk.c b/fs/vfs/disk/disk.c index c4b7cd9d..43588d84 100755 --- a/fs/vfs/disk/disk.c +++ b/fs/vfs/disk/disk.c @@ -76,12 +76,12 @@ UINT32 g_usbMode = 0; typedef VOID *(*StorageHookFunction)(VOID *); +#ifdef LOSCFG_FS_FAT_CACHE static UINT32 OsReHookFuncAddDiskRef(StorageHookFunction handler, VOID *param) __attribute__((weakref("osReHookFuncAdd"))); static UINT32 OsReHookFuncDelDiskRef(StorageHookFunction handler) __attribute__((weakref("osReHookFuncDel"))); -#ifdef LOSCFG_FS_FAT_CACHE UINT32 GetFatBlockNums(VOID) { return g_uwFatBlockNums; -- GitLab