diff options
Diffstat (limited to 'os/hal/src/sdc.c')
-rw-r--r-- | os/hal/src/sdc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/os/hal/src/sdc.c b/os/hal/src/sdc.c index 30f24af5b..929f58a46 100644 --- a/os/hal/src/sdc.c +++ b/os/hal/src/sdc.c @@ -218,8 +218,8 @@ bool_t sdcConnect(SDCDriver *sdcp) { else {
#if SDC_MMC_SUPPORT
/* MMC or SD V1.1 detection.*/
- if (sdc_lld_send_cmd_short_crc(sdcp, SDMMC_CMD_APP_CMD, 0, resp) ||
- SDC_R1_ERROR(resp[0]))
+ if (sdc_lld_send_cmd_short_crc(sdcp, MMCSD_CMD_APP_CMD, 0, resp) ||
+ MMCSD_R1_ERROR(resp[0]))
sdcp->cardmode = SDC_MODE_CARDTYPE_MMC;
else
#endif /* SDC_MMC_SUPPORT */
|