Set hostname
This commit is contained in:
parent
c06fe57358
commit
13a0a1b20c
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue