Skip to main content
Lecordier.Guy
Associate III
April 9, 2018
Solved

SDIO_STA_STBITERR & SDIO_STA_STBITER

  • April 9, 2018
  • 1 reply
  • 1140 views
Posted on April 09, 2018 at 17:01

Dear ST team,

from STM32Cube F4 V1.21.0

in the stm32f4xxhal_sd.c there are some

#ifdef SDIO_STA_STBITER

    __HAL_SD_ENABLE_IT(hsd, (SDIO_IT_DCRCFAIL | SDIO_IT_DTIMEOUT | SDIO_IT_TXUNDERR | SDIO_IT_STBITERR));   

#else /* SDIO_STA_STBITERR not defined */

    __HAL_SD_ENABLE_IT(hsd, (SDIO_IT_DCRCFAIL | SDIO_IT_DTIMEOUT | SDIO_IT_TXUNDERR));   

#endif /* SDIO_STA_STBITERR */

but some are

#ifdef SDIO_STA_STBITERR

and other are

#ifdef SDIO_STA_STBITER

mistyping or wanted ?

Best regards
    This topic has been closed for replies.
    Best answer by Imen.D
    Posted on April 09, 2018 at 18:18

    Hello

    Lecordier.Guy

    ,

    Thanks for report this issue.

    I have checked and confirmed this typo. This will be corrected in the coming release for STM32CubeF4.

    Best Regards,

    Imen

    1 reply

    Imen.DBest answer
    ST Technical Moderator
    April 9, 2018
    Posted on April 09, 2018 at 18:18

    Hello

    Lecordier.Guy

    ,

    Thanks for report this issue.

    I have checked and confirmed this typo. This will be corrected in the coming release for STM32CubeF4.

    Best Regards,

    Imen

    In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks