Set hostname
This commit is contained in:
parent
3fd486659e
commit
1a5cade5ab
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)
|
||||
|
|
Reference in a new issue