Add configuration support for Shared SD also even not yet supported

This commit is contained in:
Luc 2020-06-17 17:03:18 +02:00
parent 41cb7d1f2f
commit 523c2956af
2 changed files with 6 additions and 1 deletions

View File

@ -121,6 +121,11 @@
//ESP_SDFAT 3 //esp8266 (same as native) / esp32
//#define SD_DEVICE ESP_SDFAT
//SD Device Connection type (default is direct)
//ESP_DIRECT_SD
//ESP_SHARED_SD
#define SD_DEVICE_CONNECTION ESP_DIRECT_SD
//pin if reader has insert detection feature
//let -1 or comment if none
#define ESP_SD_DETECT_PIN -1

View File

@ -106,7 +106,7 @@
#define DEFAULT_SD_CHECK_UPDATE_AT_BOOT 1
#define DEFAULT_DHT_TYPE NO_DHT_DEVICE
#ifdef SD_DEVICE
#define DEFAULT_SD_DEVICE_TYPE ESP_DIRECT_SD
#define DEFAULT_SD_DEVICE_TYPE SD_DEVICE_CONNECTION
#else
#define DEFAULT_SD_DEVICE_TYPE ESP_NO_SD
#endif //SD_DEVICE