Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ESP32 Core 3 compatibility #234

Merged
merged 1 commit into from
Jun 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 3.13.2 [2024-06-04]
### Fixes
- [236](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/236) - Fix compilation problem on ESP32 Core 3.0.0

## 3.13.1 [2023-03-08]
### Fixes
- [210](https://github.com/tobiasschuerg/InfluxDB-Client-for-Arduino/pull/210) - Allow setting of options without previously set connection params
Expand Down
5 changes: 4 additions & 1 deletion src/HTTPService.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
# include <ESP8266HTTPClient.h>
#elif defined(ESP32)
# include <HTTPClient.h>
# include <WiFiClient.h>
# include <WiFiClientSecure.h>
#else
# error "This library currently supports only ESP8266 and ESP32."
#endif
Expand Down Expand Up @@ -131,4 +133,5 @@ friend class Test;
bool isConnected() const { return _httpClient && _httpClient->connected(); }
};

#endif //_HTTP_SERVICE_H_
#endif //_HTTP_SERVICE_H_

Loading