From 7e8bcd896a29860d9feec9957aae81df56ec055c Mon Sep 17 00:00:00 2001 From: Jason2866 <24528715+Jason2866@users.noreply.github.com> Date: Tue, 11 Jun 2024 13:25:47 +0200 Subject: [PATCH] include `SD_MMC.h` only when supported (#21611) --- tasmota/tasmota.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota.ino b/tasmota/tasmota.ino index fb8416f68..e466ad9b5 100644 --- a/tasmota/tasmota.ino +++ b/tasmota/tasmota.ino @@ -83,7 +83,9 @@ #include #ifdef USE_SDCARD #include +#ifdef SOC_SDMMC_HOST_SUPPORTED #include +#endif // SOC_SDMMC_HOST_SUPPORTED #endif // USE_SDCARD #include "FFat.h" #include "FS.h"