From 19d56fbc5084ee89feaa56aa4d373145f138e40b Mon Sep 17 00:00:00 2001 From: Meco Jianting Man <920369182@qq.com> Date: Fri, 19 Feb 2021 07:49:48 +0000 Subject: [PATCH] Update dfs_elm.c --- components/dfs/filesystems/elmfat/dfs_elm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/dfs/filesystems/elmfat/dfs_elm.c b/components/dfs/filesystems/elmfat/dfs_elm.c index 80e99a5e94..7e5e00aaf6 100644 --- a/components/dfs/filesystems/elmfat/dfs_elm.c +++ b/components/dfs/filesystems/elmfat/dfs_elm.c @@ -945,7 +945,7 @@ DWORD get_fattime(void) { DWORD fat_time = 0; -#ifdef RT_USING_RTC +#ifdef RT_LIBC_USING_TIME time_t now; struct tm *p_tm; struct tm tm_now;