From f850a2dd339f2a4dd83ec5223dba8daa9279d42b Mon Sep 17 00:00:00 2001 From: tangyuxin <462747508@qq.com> Date: Tue, 26 Jun 2018 11:09:13 +0800 Subject: [PATCH] =?UTF-8?q?[components][drivers]sdio=20=E7=BB=99=E5=B1=80?= =?UTF-8?q?=E9=83=A8=E6=8C=87=E9=92=88=E5=8F=98=E9=87=8F=E8=B5=8B=E5=88=9D?= =?UTF-8?q?=E5=80=BC,=E4=BF=AE=E5=A4=8D=E6=BD=9C=E5=9C=A8=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/drivers/sdio/mmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/sdio/mmc.c b/components/drivers/sdio/mmc.c index e537c7dd3b..138d9565a1 100644 --- a/components/drivers/sdio/mmc.c +++ b/components/drivers/sdio/mmc.c @@ -412,12 +412,12 @@ static rt_err_t mmc_set_card_addr(struct rt_mmcsd_host *host, rt_uint32_t rca) static rt_int32_t mmcsd_mmc_init_card(struct rt_mmcsd_host *host, rt_uint32_t ocr) { - struct rt_mmcsd_card *card; rt_int32_t err; rt_uint32_t resp[4]; rt_uint32_t rocr; rt_uint32_t max_data_rate; rt_uint8_t *ext_csd = RT_NULL; + struct rt_mmcsd_card *card = RT_NULL; mmcsd_go_idle(host);