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,7 +144,7 @@ uint32_t CardReader::filesize, CardReader::sdpos;
144 144
 CardReader::CardReader() {
145 145
   changeMedia(&
146 146
     #if SHARED_VOLUME_IS(SD_ONBOARD)
147
-      media_sd_spi
147
+      TERN(SDIO_SUPPORT, media_sdio, media_sd_spi)
148 148
     #elif SHARED_VOLUME_IS(USB_FLASH_DRIVE) || ENABLED(USB_FLASH_DRIVE_SUPPORT)
149 149
       media_usbFlashDrive
150 150
     #else

Loading…
Cancel
Save