Skip to content

Commit

Permalink
dont forget to always set sd2Card
Browse files Browse the repository at this point in the history
  • Loading branch information
rhapsodyv committed Mar 13, 2021
1 parent c0fcd10 commit 33fbdc0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Marlin/src/sd/cardreader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,10 @@ CardReader::CardReader() {
#elif DEFAULT_SHARED_VOLUME == USB_FLASH_DRIVE
changeMedia(&sd2card_UsbFlashDrive);
#endif
#elif ENABLED(SDIO_SUPPORT)
changeMedia(&sd2card_sdio);
#else
changeMedia(&sd2card_sd_spi);
#endif
#if ENABLED(SDCARD_SORT_ALPHA)
sort_count = 0;
Expand Down

0 comments on commit 33fbdc0

Please sign in to comment.