mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-22 18:26:30 +00:00
Fix compilation of SDMMC on ESP32C3
This commit is contained in:
parent
43c53838ad
commit
387cdd12d1
@ -170,7 +170,7 @@ void UfsCheckSDCardInit(void) {
|
|||||||
#endif // ESP32
|
#endif // ESP32
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#ifdef ESP32
|
#if defined(ESP32) && defined(SOC_SDMMC_HOST_SUPPORTED) // ESP32 and SDMMC supported (not Esp32C3)
|
||||||
// check if SDIO is configured
|
// check if SDIO is configured
|
||||||
else if (PinUsed(GPIO_SDIO_CLK) && PinUsed(GPIO_SDIO_CMD) && PinUsed(GPIO_SDIO_D0)) {
|
else if (PinUsed(GPIO_SDIO_CLK) && PinUsed(GPIO_SDIO_CMD) && PinUsed(GPIO_SDIO_D0)) {
|
||||||
int32_t sdio_cmd = Pin(GPIO_SDIO_CMD);
|
int32_t sdio_cmd = Pin(GPIO_SDIO_CMD);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user