Set hostname

This commit is contained in:
GHOSCHT 2022-04-10 18:21:11 +02:00
parent c06fe57358
commit 13a0a1b20c

View file

@ -44,6 +44,7 @@ void registerTasks()
void connectWifi(int timeout)
{
int secondsPassed = 0;
WiFi.setHostname("Heliox Control");
WiFi.begin(WIFI_SSID, WIFI_PW);
Serial.print("Connecting to WiFi");
while (WiFi.status() != WL_CONNECTED)