From 9c8eb5cc4139ba627380baa58eb1a93c4fee45bd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 25 Sep 2016 19:59:22 +0200 Subject: [PATCH] fix rtc --- FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c b/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c index 54f47da..14bee8a 100644 --- a/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c +++ b/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c @@ -163,7 +163,7 @@ DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff){ return res; } DWORD __attribute__((weak)) get_fattime(){ - return 0; + return (1<<16) | (1<<24); // return Jan. 1st 1980 00:00:00 }