/trunk/sdc.c |
---|
258,6 → 258,8 |
u32 timeout; |
SD_Result_t result = SD_ERROR_UNKNOWN; |
if(SDCardInfo.Valid == 1) |
{ |
// send the command |
rsp = SDC_SendCMDR1(CmdNo, addr); |
if (rsp != R1_NO_ERR) |
287,7 → 289,7 |
/* if(crc16 != CRC16(Buffer, len)) result = SD_ERROR_CRC_DATA; |
else */ |
result = SD_SUCCESS; |
} |
end: |
if(result != SD_SUCCESS) |
{ |