🐛 Fix Toshiba FlashAir (SDCARD_COMMANDS_SPLIT) (#21944)

This commit is contained in:
Moonglow 2021-05-20 14:09:10 +03:00 committed by Scott Lahteine
parent 2de914c38c
commit 9878a5ab58

View File

@ -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();