From c1926d3af73bf05477e669553eb4426696c8b1b4 Mon Sep 17 00:00:00 2001 From: bernard Date: Tue, 6 Jun 2017 18:18:03 +0800 Subject: [DeviceDrivers] Improve compatibility for SDIO CCCR v3.00. --- components/drivers/sdio/sdio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/drivers/sdio/sdio.c b/components/drivers/sdio/sdio.c index 78ebf3119b..59f1456e6f 100644 --- a/components/drivers/sdio/sdio.c +++ b/components/drivers/sdio/sdio.c @@ -430,7 +430,7 @@ static rt_int32_t sdio_read_cccr(struct rt_mmcsd_card *card) cccr_version = data & 0x0f; - if (cccr_version > SDIO_CCCR_REV_1_20) + if (cccr_version > SDIO_CCCR_REV_3_00) { rt_kprintf("unrecognised CCCR structure version %d\n", cccr_version); -- cgit v1.3.1