Skip to content

Commit

Permalink
esp8266 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
cotestatnt committed Nov 27, 2024
1 parent 7ca298b commit ad4de53
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/ESP_OTA/ButtonQuery/ButtonQuery.ino
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
Description: an example that check for incoming messages
and install rom update remotely.
*/
#include <WiFi.h>

#include <AsyncTelegram2.h>
#ifndef LED_BUILTIN
#define LED_BUILTIN 2
Expand All @@ -23,6 +23,7 @@
Session session;
X509List certificate(telegram_cert);
#elif defined(ESP32)
#include <WiFi.h>
#include <HTTPClient.h>
#include <HTTPUpdate.h>
#define UPDATER httpUpdate
Expand Down

0 comments on commit ad4de53

Please sign in to comment.