summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSCratORS <scrators@mail.ru>2021-10-23 10:39:56 +0200
committerGitHub <noreply@github.com>2021-10-23 10:39:56 +0200
commit1371c02fbf98c17f8d17aa30136acf36ac6d9907 (patch)
tree638fc37fbfe61b80266ddd9bd606f8cab4a4f441
parentUpdate FTPCommon.h (diff)
downloadFTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.tar
FTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.tar.gz
FTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.tar.bz2
FTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.tar.lz
FTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.tar.xz
FTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.tar.zst
FTPCLientServer-1371c02fbf98c17f8d17aa30136acf36ac6d9907.zip
-rw-r--r--FTPCommon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/FTPCommon.h b/FTPCommon.h
index 745c849..a723a5c 100644
--- a/FTPCommon.h
+++ b/FTPCommon.h
@@ -8,12 +8,12 @@
#ifdef ESP8266
#include <PolledTimeout.h>
-using polledTimeout::oneShotMs; // import the type to the local namespace
+using esphome::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::oneShotMs;
+using esphome::esp32::polledTimeout::oneShotMs;
#define BUFFERSIZE CONFIG_TCP_MSS
#define PRINTu32 "u"
#endif