Fixed CRC Failure detection
This commit is contained in:
		@@ -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; 
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user