Browse Source

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

Toshiba Flash Air Wifi SD card support
Scott Lahteine 9 years ago
parent
commit
42ec1f39e7
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      Marlin/Sd2Card.cpp

+ 4
- 0
Marlin/Sd2Card.cpp View File

@@ -498,9 +498,13 @@ bool Sd2Card::readData(uint8_t* dst, uint16_t count) {
498 498
   spiRec();
499 499
 #endif
500 500
   chipSelectHigh();
501
+  // Send an additional dummy byte, required by Toshiba Flash Air SD Card
502
+  spiSend(0XFF);
501 503
   return true;
502 504
 fail:
503 505
   chipSelectHigh();
506
+  // Send an additional dummy byte, required by Toshiba Flash Air SD Card
507
+  spiSend(0XFF);
504 508
   return false;
505 509
 }
506 510
 //------------------------------------------------------------------------------

Loading…
Cancel
Save