Skip to content

Commit

Permalink
🐛 Fix Toshiba FlashAir (SDCARD_COMMANDS_SPLIT) (#21944)
Browse files Browse the repository at this point in the history
  • Loading branch information
moonglow authored May 20, 2021
1 parent 29ad42e commit 7da4ed7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Marlin/src/sd/Sd2Card.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@

// Send command and return error code. Return zero for OK
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
chipSelect();

Expand Down

0 comments on commit 7da4ed7

Please sign in to comment.