Unverified Commit 702db506 authored by P-R-O-C-H-Y's avatar P-R-O-C-H-Y Committed by GitHub

BUGFIX - Sd check status (#6103)

* Edit sd_diskio to check card status

* Bugfix of ff_sd_status
parent 1ac3aefa
......@@ -609,7 +609,7 @@ unknown_card:
DSTATUS ff_sd_status(uint8_t pdrv)
{
if(sdCommand(pdrv, SEND_STATUS, 0, NULL) == 0xFF)
if(sdTransaction(pdrv, SEND_STATUS, 0, NULL))
{
log_e("Check status failed");
return STA_NOINIT;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment