Skip to content

Commit aa0adec

Browse files
authored
Merge pull request #4349 from mysterywolf/fatfs
[fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug
2 parents 68e6765 + 19d56fb commit aa0adec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/dfs/filesystems/elmfat/dfs_elm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,7 @@ DWORD get_fattime(void)
945945
{
946946
DWORD fat_time = 0;
947947

948-
#ifdef RT_USING_LIBC
948+
#ifdef RT_LIBC_USING_TIME
949949
time_t now;
950950
struct tm *p_tm;
951951
struct tm tm_now;

0 commit comments

Comments
 (0)