From 9ff495ca69d6e1769d4c34132c21afb5b88ca312 Mon Sep 17 00:00:00 2001 From: SCratORS Date: Sat, 23 Oct 2021 12:04:50 +0300 Subject: Update FTPCommon.h --- FTPCommon.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/FTPCommon.h b/FTPCommon.h index 059b36f..c876b72 100644 --- a/FTPCommon.h +++ b/FTPCommon.h @@ -8,12 +8,12 @@ #ifdef ESP8266 #include -using polledTimeout::oneShotFastMs; // import the type to the local namespace +using arduino::esp8266::polledTimeout::oneShotMs; // import the type to the local namespace #define BUFFERSIZE TCP_MSS #define PRINTu32 "lu" #elif defined ESP32 #include "esp32compat/PolledTimeout.h" -using polledTimeout::oneShotFastMs; +using arduino::esp8266::polledTimeout::oneShotMs; #define BUFFERSIZE CONFIG_TCP_MSS #define PRINTu32 "u" #endif @@ -127,7 +127,7 @@ protected: bool parseDataIpPort(const char *p); uint32_t sTimeOutMs; // disconnect timeout - oneShotFastMs aTimeout; // timeout from esp8266 core library + oneShotMs aTimeout; // timeout from esp8266 core library bool doFiletoNetwork(); bool doNetworkToFile(); -- cgit v1.2.3