-
Notifications
You must be signed in to change notification settings - Fork 25
Open
Description
I ran into an issue due to following line:
while ((${SDHC_INSTANCE_NAME}_REGS->SDHC_PSR & (SDHC_PSR_CMDINHC_Msk | SDHC_PSR_CMDINHD_Msk)) != 0U)
With some specific hardware issues, those bits may never be cleared, which causes an infinite loop. There should probably be some kind of max iteration count, in order to return false if the bits are not eventually cleared.
Metadata
Metadata
Assignees
Labels
No labels