Merge pull request #1 from bkonings/patch-1

Add hostname to wifi non-ap mode
This commit is contained in:
Lorenz Nimmervoll 2019-06-02 10:21:10 +02:00 committed by GitHub
commit c736b73980
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");
}
}