Change hostname

This commit is contained in:
GHOSCHT 2022-04-11 21:52:26 +02:00
parent 0c72169217
commit 833cc5bbd9
No known key found for this signature in database
GPG key ID: A35BD466B8871994

View file

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