Merge branch 'sdblockdevice_deselect' of ssh://github.com/jarlamsa/mbed-os into rollup

pull/8663/head
Cruz Monrreal II 2018-11-06 21:29:09 -06:00
commit fd744e79d9
1 changed files with 0 additions and 1 deletions

View File

@ -897,7 +897,6 @@ int SDBlockDevice::_read(uint8_t *buffer, uint32_t length)
// read until start byte (0xFE)
if (false == _wait_token(SPI_START_BLOCK)) {
debug_if(SD_DBG, "Read timeout\n");
_deselect();
return SD_BLOCK_DEVICE_ERROR_NO_RESPONSE;
}