adding include dependencies for specific boards

This commit is contained in:
Marcus 2024-10-17 15:56:39 +02:00
parent 989fefd1e2
commit 7dcfc375bb

View file

@ -42,11 +42,13 @@
// * ESP8266 * // * ESP8266 *
#ifdef ESP8266 #ifdef ESP8266
#include <ESP8266WiFi.h> #include <ESP8266WiFi.h>
#include "ESPAsyncTCP.h"
#endif #endif
// * ESP32 * // * ESP32 *
#ifdef ESP32 #ifdef ESP32
#include <WiFi.h> #include <WiFi.h>
#include "AsyncTCP.h"
#endif #endif
// https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/SPI // https://github.com/arduino/ArduinoCore-avr/tree/master/libraries/SPI