From 1371c02fbf98c17f8d17aa30136acf36ac6d9907 Mon Sep 17 00:00:00 2001 From: SCratORS Date: Sat, 23 Oct 2021 11:39:56 +0300 Subject: Update FTPCommon.h --- FTPCommon.h | 4 ++-- 1 file 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 -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 -- cgit v1.2.3