set hostname

This commit is contained in:
Nicu Hodos 2021-12-05 11:36:17 +01:00
parent 854b4a60b9
commit 633f2eb2de
2 changed files with 3 additions and 0 deletions

View File

@ -14,6 +14,7 @@ public:
wifiMulti.addAP("OpenWrt", "***REMOVED***");
// wifiMulti.addAP("IoT", "***REMOVED***");
wifiMulti.addAP("Miracle", "***REMOVED***");
WiFi.hostname("esp-clock");
Serial.println("Connecting to WiFi netowrk.");
while (wifiMulti.run() != WL_CONNECTED) {

View File

@ -47,4 +47,6 @@ void loop() {
delay(500);
Display::displayColon(false);
delay(500);
yield();
}