Merge pull request #4349 from mysterywolf/fatfs

[fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug
This commit is contained in:
Bernard Xiong 2021-02-20 12:14:52 +08:00 committed by GitHub
commit aa0adeccad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -945,7 +945,7 @@ DWORD get_fattime(void)
{
DWORD fat_time = 0;
#ifdef RT_USING_LIBC
#ifdef RT_LIBC_USING_TIME
time_t now;
struct tm *p_tm;
struct tm tm_now;