From ec142564c091fe16d9b807926366eff51660c83b Mon Sep 17 00:00:00 2001 From: d0k3 Date: Thu, 3 Mar 2016 15:45:31 +0100 Subject: [PATCH] Unstubbed NAND writing --- source/fatfs/diskio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/fatfs/diskio.c b/source/fatfs/diskio.c index 7f5b999..59719e9 100644 --- a/source/fatfs/diskio.c +++ b/source/fatfs/diskio.c @@ -138,12 +138,12 @@ DRESULT disk_write ( return RES_PARERR; } } else { - /*BYTE subtype = SUBTYPE(pdrv); + BYTE subtype = SUBTYPE(pdrv); BYTE keyslot = SubTypes[subtype].keyslot; DWORD isector = SubTypes[subtype].offset + sector; if (WriteNandSectors(buff, isector, count, keyslot, type == TYPE_EMUNAND)) - return RES_PARERR;*/ // stubbed! + return RES_PARERR; // unstubbed! } return RES_OK;