0
0
Fork 0
mirror of https://github.com/MarlinFirmware/Marlin.git synced 2025-02-17 14:50:58 +00:00

Merge pull request #3207 from jbrazio/bugfix/toshiba-sdhc-flashair

Toshiba Flash Air Wifi SD card support
This commit is contained in:
Scott Lahteine 2016-03-24 05:28:48 -07:00
commit 42ec1f39e7

View file

@ -498,9 +498,13 @@ bool Sd2Card::readData(uint8_t* dst, uint16_t count) {
spiRec();
#endif
chipSelectHigh();
// Send an additional dummy byte, required by Toshiba Flash Air SD Card
spiSend(0XFF);
return true;
fail:
chipSelectHigh();
// Send an additional dummy byte, required by Toshiba Flash Air SD Card
spiSend(0XFF);
return false;
}
//------------------------------------------------------------------------------