Browse Source

🐛 Fix Toshiba FlashAir (SDCARD_COMMANDS_SPLIT) (#21944)

vanilla_fb_2.0.x
Moonglow 4 years ago
committed by Scott Lahteine
parent
commit
9878a5ab58
  1. 5
      Marlin/src/sd/Sd2Card.cpp

5
Marlin/src/sd/Sd2Card.cpp

@ -89,6 +89,11 @@
// Send command and return error code. Return zero for OK // Send command and return error code. Return zero for OK
uint8_t DiskIODriver_SPI_SD::cardCommand(const uint8_t cmd, const uint32_t arg) { uint8_t DiskIODriver_SPI_SD::cardCommand(const uint8_t cmd, const uint32_t arg) {
#if ENABLED(SDCARD_COMMANDS_SPLIT)
if (cmd != CMD12) chipDeselect();
#endif
// Select card // Select card
chipSelect(); chipSelect();

Loading…
Cancel
Save