Skip to content

Commit db3cd3c

Browse files
committed
HACK: WHD: introduce 10ms delay on SDIO error
1 parent ed9dcbf commit db3cd3c

File tree

1 file changed

+1
-0
lines changed
  • targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface

1 file changed

+1
-0
lines changed

targets/TARGET_STM/TARGET_STM32H7/TARGET_STM32H747xI/TARGET_PORTENTA_H7/COMPONENT_WHD/interface/cyhal_sdio.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -277,6 +277,7 @@ cy_rslt_t cyhal_sdio_send_cmd(const cyhal_sdio_t *obj, cyhal_transfer_t directio
277277
if ( loop_count == 0 || (( response != NULL) && (( temp_sta & SDIO_ERROR_MASK ) != 0)) )
278278
{
279279
WPRINT_MACRO( ("Restart single access loop count %ld stat %lx\n",loop_count,temp_sta) );
280+
HAL_Delay(10U);
280281
goto restart;
281282
}
282283
} while ( ( temp_sta & SDIO_FLAG_CMDACT ) != 0);

0 commit comments

Comments
 (0)