From 242e8e9d43cb4d7e9ddc6852152efa7c2e243fdf Mon Sep 17 00:00:00 2001 From: Emil Muratov Date: Tue, 2 May 2023 17:42:31 +0900 Subject: fix building for esp32 core 2.0.8 __FlashStringHelper class is abstract, so use String& instead --- FTPClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FTPClient.cpp') diff --git a/FTPClient.cpp b/FTPClient.cpp index 4ea31be..dd3457c 100644 --- a/FTPClient.cpp +++ b/FTPClient.cpp @@ -220,7 +220,7 @@ int8_t FTPClient::controlConnect() return -1; } -bool FTPClient::waitFor(const int16_t respCode, const __FlashStringHelper *errorString, uint32_t timeOutMs) +bool FTPClient::waitFor(const int16_t respCode, const String &errorString, uint32_t timeOutMs) { // initalize waiting if (!aTimeout.canExpire()) -- cgit v1.2.3