mirror of
https://github.com/alexhopeoconnor/WiFiManager.git
synced 2026-10-04 02:48:13 +10:00
fixes #1068 esp32 S2
Esp32 has seeveral variations on when you can sethostname, might vary with versions so will try to add a best practice for all
This commit is contained in:
@@ -223,7 +223,7 @@ void setup() {
|
||||
|
||||
// set Hostname
|
||||
|
||||
// wm.setHostname(("WM_"+wm.getDefaultAPName()).c_str());
|
||||
wm.setHostname(("WM_"+wm.getDefaultAPName()).c_str());
|
||||
// wm.setHostname("WM_RANDO_1234");
|
||||
|
||||
// set custom channel
|
||||
|
||||
Reference in New Issue
Block a user