diff --git a/esp3d/src/modules/filesystem/sd/sd_native_esp8266.cpp b/esp3d/src/modules/filesystem/sd/sd_native_esp8266.cpp index a55d65fa..686af605 100644 --- a/esp3d/src/modules/filesystem/sd/sd_native_esp8266.cpp +++ b/esp3d/src/modules/filesystem/sd/sd_native_esp8266.cpp @@ -41,7 +41,7 @@ void dateTime (uint16_t* date, uint16_t* dtime) *dtime = FAT_TIME (tmstruct.tm_hour, tmstruct.tm_min, tmstruct.tm_sec); } -time_t getDateTimeFile(File & filehandle) +time_t getDateTimeFile(sdfat::File & filehandle) { static time_t dt = 0; struct tm timefile; diff --git a/esp3d/src/modules/ftp/FtpServer.cpp b/esp3d/src/modules/ftp/FtpServer.cpp index 6bf00f7a..f32225a2 100644 --- a/esp3d/src/modules/ftp/FtpServer.cpp +++ b/esp3d/src/modules/ftp/FtpServer.cpp @@ -311,7 +311,7 @@ bool FtpServer::isUser(const char * user) log_esp3d("Check User"); _currentUser = ""; #ifdef AUTHENTICATION_FEATURE - if ((user != nullptr) && ((strcmp(user, DEFAULT_ADMIN_LOGIN) == 0) || (strcmp(user, DEFAULT_USER_LOGIN) == 0)) { + if ((user != nullptr) && ((strcmp(user, DEFAULT_ADMIN_LOGIN) == 0) || (strcmp(user, DEFAULT_USER_LOGIN) == 0))) { _currentUser = user; return true; }