mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 09:08:25 +00:00
[fatfs][rtc][bug] 修复FATFS底层接口get_fattime获取时间条件的bug
This commit is contained in:
@@ -945,7 +945,7 @@ DWORD get_fattime(void)
|
||||
{
|
||||
DWORD fat_time = 0;
|
||||
|
||||
#ifdef RT_USING_LIBC
|
||||
#ifdef RT_USING_RTC
|
||||
time_t now;
|
||||
struct tm *p_tm;
|
||||
struct tm tm_now;
|
||||
|
||||
Reference in New Issue
Block a user