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