Skip to content

Commit f727393

Browse files
authored
Merge pull request #49 from P-R-O-C-H-Y/SD_check_status_fix
Sd check status fix
2 parents 967db8f + e89e289 commit f727393

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/SD/src/sd_diskio.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ DSTATUS ff_sd_initialize(uint8_t pdrv)
609609

610610
DSTATUS ff_sd_status(uint8_t pdrv)
611611
{
612-
if(sdCommand(pdrv, SEND_STATUS, 0, NULL) == 0xFF)
612+
if(sdTransaction(pdrv, SEND_STATUS, 0, NULL))
613613
{
614614
log_e("Check status failed");
615615
return STA_NOINIT;

0 commit comments

Comments
 (0)