Skip to content

Commit

Permalink
squish
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkyhead committed Mar 19, 2021
1 parent cbf191c commit f2158d6
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions Marlin/src/sd/cardreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f2158d6

Please sign in to comment.