summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSCratORS <scrators@mail.ru>2021-10-23 11:04:50 +0200
committerGitHub <noreply@github.com>2021-10-23 11:04:50 +0200
commit9ff495ca69d6e1769d4c34132c21afb5b88ca312 (patch)
tree8e5515e3559f0a623c99a1e76b45bd5b7201005e
parentUpdate FTPCommon.h (diff)
downloadFTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.tar
FTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.tar.gz
FTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.tar.bz2
FTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.tar.lz
FTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.tar.xz
FTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.tar.zst
FTPCLientServer-9ff495ca69d6e1769d4c34132c21afb5b88ca312.zip
-rw-r--r--FTPCommon.h6
1 files 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 <PolledTimeout.h>
-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();