🩹 Fix multi_volume + SDIO onboard compile (#21975)
This commit is contained in:
parent
9adaf92674
commit
a9fd2769f3
|
@ -144,7 +144,7 @@ uint32_t CardReader::filesize, CardReader::sdpos;
|
||||||
CardReader::CardReader() {
|
CardReader::CardReader() {
|
||||||
changeMedia(&
|
changeMedia(&
|
||||||
#if SHARED_VOLUME_IS(SD_ONBOARD)
|
#if SHARED_VOLUME_IS(SD_ONBOARD)
|
||||||
media_sd_spi
|
TERN(SDIO_SUPPORT, media_sdio, media_sd_spi)
|
||||||
#elif SHARED_VOLUME_IS(USB_FLASH_DRIVE) || ENABLED(USB_FLASH_DRIVE_SUPPORT)
|
#elif SHARED_VOLUME_IS(USB_FLASH_DRIVE) || ENABLED(USB_FLASH_DRIVE_SUPPORT)
|
||||||
media_usbFlashDrive
|
media_usbFlashDrive
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Reference in a new issue