From f2158d656b1021667d68a0d7e5bf3bdea89662bb Mon Sep 17 00:00:00 2001 From: Scott Lahteine Date: Fri, 19 Mar 2021 03:54:41 -0500 Subject: [PATCH] squish --- Marlin/src/sd/cardreader.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/Marlin/src/sd/cardreader.cpp b/Marlin/src/sd/cardreader.cpp index 27d43a03bae57..5c838fea39759 100644 --- a/Marlin/src/sd/cardreader.cpp +++ b/Marlin/src/sd/cardreader.cpp @@ -143,13 +143,9 @@ uint32_t CardReader::filesize, CardReader::sdpos; CardReader::CardReader() { changeMedia(& - #if ENABLED(MULTI_VOLUME) - #if SHARED_VOLUME_IS(SD_ONBOARD) - sd2card_sd_spi - #elif SHARED_VOLUME_IS(USB_FLASH_DRIVE) - sd2card_UsbFlashDrive - #endif - #elif ENABLED(USB_FLASH_DRIVE_SUPPORT) + #if ENABLED(MULTI_VOLUME) && SHARED_VOLUME_IS(SD_ONBOARD) + sd2card_sd_spi + #elif (ENABLED(MULTI_VOLUME) && SHARED_VOLUME_IS(USB_FLASH_DRIVE)) || ENABLED(USB_FLASH_DRIVE_SUPPORT) sd2card_UsbFlashDrive #elif ENABLED(SDIO_SUPPORT) sd2card_sdio