fix esp32 core 3.0.0 compile (#21112)

This commit is contained in:
Jason2866 2024-04-06 14:17:51 +02:00 committed by GitHub
parent 2128dfbade
commit e149a0399e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@
#include <Arduino.h> #include <Arduino.h>
#ifdef ESP32 #ifdef ESP32
#include <HTTPClient.h> #include <HTTPClient.h>
#include <WiFi.h>
#else #else
#include <ESP8266HTTPClient.h> #include <ESP8266HTTPClient.h>
#endif #endif

View File

@ -24,6 +24,7 @@
#include <Arduino.h> #include <Arduino.h>
#ifdef ESP32 #ifdef ESP32
#include <HTTPClient.h> #include <HTTPClient.h>
#include <WiFi.h>
#else #else
#include <ESP8266HTTPClient.h> #include <ESP8266HTTPClient.h>
#endif #endif