Browse Source

🩹 Fix multi_volume + SDIO onboard compile (#21975)

LawnMo 3 years ago
parent
commit
2dd25938cc
No account linked to committer's email address
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      Marlin/src/sd/cardreader.cpp

+ 1
- 1
Marlin/src/sd/cardreader.cpp View File

144
 CardReader::CardReader() {
144
 CardReader::CardReader() {
145
   changeMedia(&
145
   changeMedia(&
146
     #if SHARED_VOLUME_IS(SD_ONBOARD)
146
     #if SHARED_VOLUME_IS(SD_ONBOARD)
147
-      media_sd_spi
147
+      TERN(SDIO_SUPPORT, media_sdio, media_sd_spi)
148
     #elif SHARED_VOLUME_IS(USB_FLASH_DRIVE) || ENABLED(USB_FLASH_DRIVE_SUPPORT)
148
     #elif SHARED_VOLUME_IS(USB_FLASH_DRIVE) || ENABLED(USB_FLASH_DRIVE_SUPPORT)
149
       media_usbFlashDrive
149
       media_usbFlashDrive
150
     #else
150
     #else

Loading…
Cancel
Save