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:
tablatronix
2022-08-17 19:24:45 -05:00
parent e0c5fb7daf
commit b90af1ac4d
2 changed files with 10 additions and 3 deletions
@@ -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