From 805725a42272f79fcd9ef21d43b5cf4074abdedd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Thu, 7 Nov 2013 19:47:21 +0000 Subject: [PATCH] removed unused variables --- BaS_gcc/sources/mmc.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BaS_gcc/sources/mmc.c b/BaS_gcc/sources/mmc.c index 15eb233..034d540 100644 --- a/BaS_gcc/sources/mmc.c +++ b/BaS_gcc/sources/mmc.c @@ -388,7 +388,6 @@ DSTATUS disk_initialize(uint8_t drv) { uint8_t n, cmd, card_type, ocr[4]; uint8_t buff[16]; - int res; if (drv) return STA_NOINIT; /* Supports only drive 0 */ @@ -458,7 +457,7 @@ DSTATUS disk_initialize(uint8_t drv) } CardType = card_type; /* Card type */ - res = disk_ioctl(0, MMC_GET_CSD, buff); + //res = disk_ioctl(0, MMC_GET_CSD, buff); /* if (res == RES_OK) { @@ -475,7 +474,7 @@ DSTATUS disk_initialize(uint8_t drv) SPICLK_FAST(); /* Set fast clock */ Stat &= ~STA_NOINIT; /* Clear STA_NOINIT flag */ xprintf("card type: %d\r\n", card_type); - res = disk_ioctl(0, MMC_GET_CSD, buff); + //res = disk_ioctl(0, MMC_GET_CSD, buff); /* if (res == RES_OK) {