mirror of https://github.com/arendst/Tasmota.git
fix esp8266 sdcard
This commit is contained in:
parent
0ed519184b
commit
2aa21ada27
|
@ -98,7 +98,7 @@ void UFSInit(void) {
|
||||||
|
|
||||||
if (SD.begin(cs)) {
|
if (SD.begin(cs)) {
|
||||||
#ifdef ESP8266
|
#ifdef ESP8266
|
||||||
ufsp = (FS*)&SD;
|
ufsp = &SDFS;
|
||||||
#endif // ESP8266
|
#endif // ESP8266
|
||||||
#ifdef ESP32
|
#ifdef ESP32
|
||||||
ufsp = &SD;
|
ufsp = &SD;
|
||||||
|
|
Loading…
Reference in New Issue