This commit is contained in:
Matthew Kennedy 2020-10-23 12:45:44 -07:00 committed by GitHub
parent 0ae003dcd3
commit 08d8262f77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ void initMmcCard(void) {
return; return;
} }
efiAssertVoid(OBD_PCM_Processor_Fault, CONFIG(sdCardSpiDevice) == SPI_NONE, "SD card enabled, but no SPI device configured!"); efiAssertVoid(OBD_PCM_Processor_Fault, CONFIG(sdCardSpiDevice) != SPI_NONE, "SD card enabled, but no SPI device configured!");
// todo: reuse initSpiCs method? // todo: reuse initSpiCs method?
hs_spicfg.ssport = ls_spicfg.ssport = getHwPort("mmc", CONFIG(sdCardCsPin)); hs_spicfg.ssport = ls_spicfg.ssport = getHwPort("mmc", CONFIG(sdCardCsPin));