adds esp8266-style hostname setting (#4938)

a little step to make esp8266 code compile without changes under esp32
This commit is contained in:
Holger Lembke 2021-03-15 09:10:30 +01:00 committed by GitHub
parent 8dc70e0add
commit 35643bdd9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,6 +74,7 @@ public:
const char * getHostname();
bool setHostname(const char * hostname);
bool hostname(const String& aHostname) { return setHostname(aHostname.c_str()); }
// STA WiFi info
static wl_status_t status();