From 9f292b84e5fb2d4b9ee4f116246d5b5783c6895c Mon Sep 17 00:00:00 2001 From: Owen Date: Mon, 31 May 2021 16:24:32 +0200 Subject: [PATCH] Fix building without myconfig.h --- esp32-cam-webserver.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/esp32-cam-webserver.ino b/esp32-cam-webserver.ino index cc3c381..2efeb7a 100644 --- a/esp32-cam-webserver.ino +++ b/esp32-cam-webserver.ino @@ -602,7 +602,7 @@ void setup() { // Port defaults to 3232 // ArduinoOTA.setPort(3232); // Hostname defaults to esp3232-[MAC] - ArduinoOTA.setHostname(CAM_NAME); + ArduinoOTA.setHostname(myName); // No authentication by default // ArduinoOTA.setPassword("admin"); // Password can be set with it's md5 value as well