Skip to content

Commit 8f4e381

Browse files
committed
Fix compilation error in ESP32 Core v3.1.x
1 parent 1350d3c commit 8f4e381

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/client/SSLClient/client/BSSL_SSL_Client.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@
4848

4949
#if defined(ESP_ARDUINO_VERSION) /* ESP32 core >= v2.0.x */
5050
#if ESP_ARDUINO_VERSION >= ESP_ARDUINO_VERSION_VAL(3, 1, 0)
51-
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRRIDE override;
51+
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE override;
5252
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_HAS_TMO
5353
#else
54-
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRRIDE
54+
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE
5555
#endif
5656
#else
57-
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRRIDE
57+
#define ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE
5858
#endif
5959

6060
#define BSSL_SSL_CLIENT_MIN_SESSION_TIMEOUT_SEC 60

src/client/SSLClient/client/BSSL_TCP_Client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ class BSSL_TCP_Client : public Client
108108
* @param timeout The connection time out in miiliseconds.
109109
* @return 1 for success or 0 for error.
110110
*/
111-
int connect(IPAddress ip, uint16_t port, int32_t timeout) ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRRIDE;
111+
int connect(IPAddress ip, uint16_t port, int32_t timeout) ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE;
112112

113113
/**
114114
* Connect to server.
@@ -125,7 +125,7 @@ class BSSL_TCP_Client : public Client
125125
* @param timeout The connection time out in miiliseconds.
126126
* @return 1 for success or 0 for error.
127127
*/
128-
int connect(const char *host, uint16_t port, int32_t timeout) ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRRIDE;
128+
int connect(const char *host, uint16_t port, int32_t timeout) ESP32_ARDUINO_CORE_CLIENT_CONNECT_OVERRIDE;
129129

130130
/**
131131
* Get TCP connection status.

0 commit comments

Comments
 (0)