Remove hostname setting for ESP32 compatability
The examples were setting a hostname for the WiFi connection, but this is done via a different call on the ESP32 vs. the ESP8266. To avoid #ifdef explosion, simply remove the call as it's unneeded anyway. Thanks to @reaper7 for reporting this in pull #33.
This commit is contained in:
1 parent
244007b0c5
commit
94a3f9ab91
3 files changed
-6
No files matched your search
@@ -60,8 +60,6 @@ void setup()
|
||||
WiFi.softAPdisconnect(true);
|
||||
WiFi.mode(WIFI_STA);
|
||||
|
||||
WiFi.hostname("melody");
|
||||
|
||||
WiFi.begin(SSID, PASSWORD);
|
||||
|
||||
// Try forever
|
||||
|
||||
Reference in new issue
Block a user