summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorMeco Jianting Man <[email protected]>2021-02-19 07:49:48 +0000
committerGitHub <[email protected]>2021-02-19 07:49:48 +0000
commit19d56fbc5084ee89feaa56aa4d373145f138e40b (patch)
treee7d95c21195fbd5c3e2e88a57c15022bb0d193eb /components
parente90a0ee03c78eee75311f432aa7570dc3e53663c (diff)
Update dfs_elm.c
Diffstat (limited to 'components')
-rw-r--r--components/dfs/filesystems/elmfat/dfs_elm.c2
1 files changed, 1 insertions, 1 deletions
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;