From 17ab424dcf32bf730874c4a133d711797ed80447 Mon Sep 17 00:00:00 2001 From: Shino Amakusa Date: Thu, 26 Nov 2015 21:29:59 +0100 Subject: [PATCH] implemented disk sync() --- FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c b/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c index cbe94dd..faf4153 100644 --- a/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c +++ b/FATFS/shimatta_sdio_driver/shimatta_sdio-driver.c @@ -68,8 +68,9 @@ DRESULT SDIO_disk_ioctl(BYTE cmd, void* buff){ //TODO: Implement break; case CTRL_SYNC: - res = RES_ERROR; - //TODO: Implement + res = RES_OK; + //No cache + //Nothing to do break; default: res = RES_PARERR;