This commit is contained in:
Matthew Kennedy 2022-02-01 15:40:40 -08:00 committed by GitHub
parent 729e107474
commit 53297cb1fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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;
}