/trunk/sdc.c |
---|
285,7 → 285,8 |
crc16 = SSC_GetChar(); // highbyte first |
crc16 = (crc16<<8)|SSC_GetChar(); // lowbyte last |
/* if(crc16 != CRC16(Buffer, len)) result = SD_ERROR_CRC_DATA; |
else */result = SD_SUCCESS; |
else */ |
result = SD_SUCCESS; |
end: |
if(result != SD_SUCCESS) |
631,7 → 632,7 |
SD_Result_t SDC_Deinit(void) |
{ |
UART1_PutString("\r\n SDC deinit..."); |
SSC_Deinit(); |
// SSC_Deinit(); |
SDCardInfo.Valid = 0; |
SDCardInfo.Capacity = 0; |