mirror of
https://git.mirrors.martin98.com/https://github.com/luc-github/ESP3D.git
synced 2025-08-05 20:16:04 +08:00
Add configuration support for Shared SD also even not yet supported
This commit is contained in:
parent
41cb7d1f2f
commit
523c2956af
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user