diff --git a/src/WebOTA.cpp b/src/WebOTA.cpp index d0d3bb1..0a2005c 100644 --- a/src/WebOTA.cpp +++ b/src/WebOTA.cpp @@ -67,6 +67,8 @@ int WebOTA::handle() { #ifdef ESP8266 MDNS.update(); #endif + + return 1; } long WebOTA::max_sketch_size() { @@ -193,6 +195,8 @@ int WebOTA::add_http_routes(WebServer *server, const char *path) { }); server->begin(); + + return 1; } // If the MCU is in a delay() it cannot respond to HTTP OTA requests @@ -251,4 +255,6 @@ int init_wifi(const char *ssid, const char *password, const char *mdns_hostname) Serial.printf("MAC address : %s \r\n", WiFi.macAddress().c_str()); init_mdns(mdns_hostname); + + return 1; }