Skip to content

Commit 7e8bcd8

Browse files
authored
include SD_MMC.h only when supported (#21611)
1 parent 4858ec0 commit 7e8bcd8

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasmota/tasmota.ino

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,9 @@
8383
#include <LittleFS.h>
8484
#ifdef USE_SDCARD
8585
#include <SD.h>
86+
#ifdef SOC_SDMMC_HOST_SUPPORTED
8687
#include <SD_MMC.h>
88+
#endif // SOC_SDMMC_HOST_SUPPORTED
8789
#endif // USE_SDCARD
8890
#include "FFat.h"
8991
#include "FS.h"

0 commit comments

Comments
 (0)