Toshiba Flash Air Wifi SD card support
This commit is contained in:
parent
cadded1e21
commit
757661b299
1 changed files with 4 additions and 0 deletions
|
@ -498,9 +498,13 @@ bool Sd2Card::readData(uint8_t* dst, uint16_t count) {
|
||||||
spiRec();
|
spiRec();
|
||||||
#endif
|
#endif
|
||||||
chipSelectHigh();
|
chipSelectHigh();
|
||||||
|
// Send an additional dummy byte, required by Toshiba Flash Air SD Card
|
||||||
|
spiSend(0XFF);
|
||||||
return true;
|
return true;
|
||||||
fail:
|
fail:
|
||||||
chipSelectHigh();
|
chipSelectHigh();
|
||||||
|
// Send an additional dummy byte, required by Toshiba Flash Air SD Card
|
||||||
|
spiSend(0XFF);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
//------------------------------------------------------------------------------
|
//------------------------------------------------------------------------------
|
||||||
|
|
Reference in a new issue