Moved platform-specific code related to WiFi and services to my_wifi.h. Also, made the HTTP server stuff compatible to ESP32.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2019-06-13 06:01:44 +02:00
parent ea4898daa6
commit 291a3be623
11 changed files with 41 additions and 34 deletions

View File

@ -1,12 +1,6 @@
#include <ArduinoOTA.h>
#if defined( ESP8266 )
#include <ESP8266mDNS.h>
#elif defined( ESP32 )
#include <ESPmDNS.h>
#else
#error Neither ESP32 nor ESP8266 set!
#endif
#include "my_wifi.h"
#include <ArduinoOTA.h>
#include "config.h"