summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-06-06 18:18:03 +0800
committerbernard <[email protected]>2017-06-06 18:18:03 +0800
commitc1926d3af73bf05477e669553eb4426696c8b1b4 (patch)
tree3f3675a0b4e4b9c47fb5e19649fc6b598c69418f /components
parent02607c85ace5d96766fc0d01e4b05cad399130b7 (diff)
[DeviceDrivers] Improve compatibility for SDIO CCCR v3.00.
Diffstat (limited to 'components')
-rw-r--r--components/drivers/sdio/sdio.c2
1 files changed, 1 insertions, 1 deletions
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);