sdcard add generic slotconfig

This commit is contained in:
cyberman54 committed 2022-10-31 16:19:56 +01:00
1 parent fb06fefd6f
commit 40e64ddb03
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -33,6 +33,10 @@
#elif HAS_SDCARD == 2 // MMC interface
#include "driver/sdmmc_host.h"
#ifndef SDCARD_SLOTCONFIG
#define SDCARD_SLOTCONFIG SDMMC_SLOT_CONFIG_DEFAULT()
#endif
#ifndef SDCARD_SLOTWIDTH
#define SDCARD_SLOTWIDTH 1
#endif