oops (#1899)
This commit is contained in:
parent
0ae003dcd3
commit
08d8262f77
|
@ -476,7 +476,7 @@ void initMmcCard(void) {
|
|||
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?
|
||||
hs_spicfg.ssport = ls_spicfg.ssport = getHwPort("mmc", CONFIG(sdCardCsPin));
|
||||
|
|
Loading…
Reference in New Issue