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
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@ -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"
|
||||
|
Reference in New Issue
Block a user