fix (#3877)
This commit is contained in:
parent
729e107474
commit
53297cb1fd
|
@ -518,7 +518,8 @@ static THD_FUNCTION(MMCmonThread, arg) {
|
|||
|
||||
while (true) {
|
||||
// if the SPI device got un-picked somehow, cancel SD card
|
||||
#if EFI_PROD_CODE
|
||||
// Don't do this check at all if using SDMMC interface instead of SPI
|
||||
#if EFI_PROD_CODE && !defined(EFI_SDC_DEVICE)
|
||||
if (engineConfiguration->sdCardSpiDevice == SPI_NONE) {
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue