From a70d4cb87a48158ed9f9b5fe5cee6a6109674f41 Mon Sep 17 00:00:00 2001 From: Daniel Plasa Date: Sat, 30 May 2020 01:21:14 +0200 Subject: fix timeout data type --- FTPClient.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'FTPClient.h') diff --git a/FTPClient.h b/FTPClient.h index 9f3fd06..bc03c67 100644 --- a/FTPClient.h +++ b/FTPClient.h @@ -108,7 +108,7 @@ protected: int8_t controlConnect(); // connects to ServerInfo, returns -1: no connection possible, +1: connection established - bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint16_t timeOut = 10000); + bool waitFor(const int16_t respCode, const __FlashStringHelper *errorString = nullptr, uint32_t timeOut = 10000); }; // basically just the same as FTPClient but has a different connect() method to account for SSL/TLS -- cgit v1.2.3