Merge pull request #1 from bkonings/patch-1
Add hostname to wifi non-ap mode
This commit is contained in:
commit
c736b73980
@ -317,6 +317,7 @@ void setup() {
|
||||
Serial.printf("Connecting to %s\n", ssid);
|
||||
if (String(WiFi.SSID()) != String(ssid)) {
|
||||
WiFi.begin(ssid, password);
|
||||
WiFi.hostname("Nanoleaf");
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user