From da47bebdd8036465c4fb1a9db5a92dc1279d583b Mon Sep 17 00:00:00 2001 From: Ivan Grokhotkov Date: Sun, 10 Apr 2022 21:21:05 +0200 Subject: [PATCH] sdmmc: sdmmc_init_sd_ssr: use correct command name Numerical value of MMC_SEND_STATUS is the same as SD_APP_SD_STATUS, so there is no functional change. Just making this consistent with the sdmmc_send_app_cmd call later on. --- components/sdmmc/sdmmc_sd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/sdmmc/sdmmc_sd.c b/components/sdmmc/sdmmc_sd.c index 03037e5c26..84147fc74d 100644 --- a/components/sdmmc/sdmmc_sd.c +++ b/components/sdmmc/sdmmc_sd.c @@ -96,7 +96,7 @@ esp_err_t sdmmc_init_sd_ssr(sdmmc_card_t* card) .data = sd_ssr, .datalen = SD_SSR_SIZE, .blklen = SD_SSR_SIZE, - .opcode = MMC_SEND_STATUS, + .opcode = SD_APP_SD_STATUS, .arg = 0, .flags = SCF_CMD_ADTC | SCF_RSP_R1 | SCF_CMD_READ };