We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2602f54 + 9f9c3a2 commit 4919c41Copy full SHA for 4919c41
components/drivers/sdio/mmc.c
@@ -122,7 +122,7 @@ static int mmc_get_ext_csd(struct rt_mmcsd_card *card, rt_uint8_t **new_ext_csd)
122
123
*new_ext_csd = RT_NULL;
124
125
- if (GET_BITS(card->resp_cid, 122, 4) < 4)
+ if (GET_BITS(card->resp_csd, 122, 4) < 4)
126
return 0;
127
128
/*
@@ -303,7 +303,7 @@ static int mmc_select_bus_width(struct rt_mmcsd_card *card, rt_uint8_t *ext_csd)
303
unsigned idx, trys, bus_width = 0;
304
int err = 0;
305
306
307
308
309
0 commit comments