Fixed CRC Failure detection
This commit is contained in:
parent
6a27ea8a1f
commit
0f1c4bdcf0
@ -137,7 +137,8 @@ int SDIO_getResp(uint8_t expectedCMD, uint8_t typeOfAns, uint32_t *responseBuffe
|
|||||||
if(expectedCMD == 41) {
|
if(expectedCMD == 41) {
|
||||||
//This command does not have a CRC...Doushite....
|
//This command does not have a CRC...Doushite....
|
||||||
break;//Hopefully the response is correct. Even without CRC....
|
break;//Hopefully the response is correct. Even without CRC....
|
||||||
}
|
} else
|
||||||
|
return CCRCFAIL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user