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.
1 parent c022efb commit b7935b8Copy full SHA for b7935b8
Src/stm32h7xx_hal_sd.c
@@ -3149,7 +3149,7 @@ static uint32_t SD_PowerON(SD_HandleTypeDef *hsd)
3149
3150
/* CMD8: SEND_IF_COND: Command available only on V2.0 cards */
3151
errorstate = SDMMC_CmdOperCond(hsd->Instance);
3152
- if (errorstate == SDMMC_ERROR_TIMEOUT) /* No response to CMD8 */
+ if (errorstate == SDMMC_ERROR_CMD_RSP_TIMEOUT) /* No response to CMD8 */
3153
{
3154
hsd->SdCard.CardVersion = CARD_V1_X;
3155
/* CMD0: GO_IDLE_STATE */
0 commit comments