Skip to content

Commit 83ff659

Browse files
committed
Fixed sdmmc host check to pass CI
1 parent d22d5d1 commit 83ff659

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Diff for: libraries/SD_MMC/src/SD_MMC.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@
1717
#include "sdkconfig.h"
1818
#include "soc/soc_caps.h"
1919
#ifndef SOC_SDMMC_HOST_SUPPORTED
20-
#error The SDMMC library requires a device with an SDIO Host
20+
#ifdef ARDUINO
21+
#warning The SDMMC library requires a device with an SDIO Host
22+
#endif
2123
#else
2224

2325
#include "FS.h"

0 commit comments

Comments
 (0)