Skip to content

Commit 65b5e9e

Browse files
authored
Merge pull request #234 from tobiasschuerg/fix/esp32-3.0.0
fix: ESP32 Core 3 compatibility
2 parents f1b10f2 + 5853057 commit 65b5e9e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# Changelog
2+
## 3.13.2 [2024-06-04]
3+
### Fixes
4+
- [236](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/236) - Fix compilation problem on ESP32 Core 3.0.0
5+
26
## 3.13.1 [2023-03-08]
37
### Fixes
48
- [210](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/210) - Allow setting of options without previously set connection params

src/HTTPService.h

+4-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@
3333
# include <ESP8266HTTPClient.h>
3434
#elif defined(ESP32)
3535
# include <HTTPClient.h>
36+
# include <WiFiClient.h>
37+
# include <WiFiClientSecure.h>
3638
#else
3739
# error "This library currently supports only ESP8266 and ESP32."
3840
#endif
@@ -131,4 +133,5 @@ friend class Test;
131133
bool isConnected() const { return _httpClient && _httpClient->connected(); }
132134
};
133135

134-
#endif //_HTTP_SERVICE_H_
136+
#endif //_HTTP_SERVICE_H_
137+

0 commit comments

Comments
 (0)