Skip to content

Commit 15e0c45

Browse files
Merge pull request #8 from jardous/ESP32
ESP32 support
2 parents 703defe + 1429b7e commit 15e0c45

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

InfluxDb.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,13 @@
66
77
@author Tobias Schürg
88
*/
9+
#if defined(ESP8266)
910
#include <ESP8266HTTPClient.h>
11+
#elif defined(ESP32)
12+
#include <WiFi.h>
13+
#include <HTTPClient.h>
14+
#endif
15+
1016
#include <list>
1117
#include "Arduino.h"
1218

0 commit comments

Comments
 (0)