소스 검색

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

Toshiba Flash Air Wifi SD card support
Scott Lahteine 9 년 전
부모
커밋
42ec1f39e7
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4
    0
      Marlin/Sd2Card.cpp

+ 4
- 0
Marlin/Sd2Card.cpp 파일 보기

@@ -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…
취소
저장