mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00

By default SD cards are initialized in default speed (DS) mode. Enabling HS mode requires SWITCH_FUNC command to be sent twice: first time to query if the card supports switching to HS mode, second time to perform the switch. This change implements SWITCH_FUNC command and adds the procedure to switch to HS mode.