Fixed error in SDCARD_SPI_CS_PIN define check
This commit is contained in:
parent
8738e7d623
commit
4a8c496061
|
@ -47,7 +47,7 @@ void pgResetFn_sdcardConfig(sdcardConfig_t *config)
|
||||||
#else
|
#else
|
||||||
config->cardDetectTag = IO_TAG_NONE;
|
config->cardDetectTag = IO_TAG_NONE;
|
||||||
#endif
|
#endif
|
||||||
#ifdef SDCARD_DETECT_PIN
|
#ifdef SDCARD_SPI_CS_PIN
|
||||||
config->chipSelectTag = IO_TAG(SDCARD_SPI_CS_PIN);
|
config->chipSelectTag = IO_TAG(SDCARD_SPI_CS_PIN);
|
||||||
#else
|
#else
|
||||||
config->chipSelectTag = IO_TAG_NONE;
|
config->chipSelectTag = IO_TAG_NONE;
|
||||||
|
|
Loading…
Reference in New Issue