diff --git a/tasmota/xdrv_98_filesystem.ino b/tasmota/xdrv_98_filesystem.ino index 1fadd6427..cbb533310 100644 --- a/tasmota/xdrv_98_filesystem.ino +++ b/tasmota/xdrv_98_filesystem.ino @@ -98,7 +98,7 @@ void UFSInit(void) { if (SD.begin(cs)) { #ifdef ESP8266 - ufsp = (FS*)&SD; + ufsp = &SDFS; #endif // ESP8266 #ifdef ESP32 ufsp = &SD;