🐛 Fix Toshiba FlashAir (SDCARD_COMMANDS_SPLIT) (#21944)
This commit is contained in:
parent
29ad42e54e
commit
7da4ed7340
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue