mirror of
https://github.com/espressif/esp-idf
synced 2025-03-12 10:39:11 -04:00
During write operation (CMD24 or CMD25), the card can report some of the errors in the 1-byte response tokens. Other types of errors are not reported, the host has to get them by issuing CMD13. This commit adds CMD13 request at the end of write operations and reports error to the user if the card status isn't zero.