Selaa lähdekoodia

Toshiba Flash Air Wifi SD card support

jbrazio 9 vuotta sitten
vanhempi
commit
757661b299
1 muutettua tiedostoa jossa 4 lisäystä ja 0 poistoa
  1. 4
    0
      Marlin/Sd2Card.cpp

+ 4
- 0
Marlin/Sd2Card.cpp Näytä tiedosto

@@ -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…
Peruuta
Tallenna