include `SD_MMC.h` only when supported (#21611)

This commit is contained in:
Jason2866 2024-06-11 13:25:47 +02:00 committed by GitHub
parent 4858ec0aef
commit 7e8bcd896a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 0 deletions

View File

@ -83,7 +83,9 @@
#include <LittleFS.h>
#ifdef USE_SDCARD
#include <SD.h>
#ifdef SOC_SDMMC_HOST_SUPPORTED
#include <SD_MMC.h>
#endif // SOC_SDMMC_HOST_SUPPORTED
#endif // USE_SDCARD
#include "FFat.h"
#include "FS.h"