adds esp8266-style hostname setting (#4938)
a little step to make esp8266 code compile without changes under esp32
This commit is contained in:
parent
8dc70e0add
commit
35643bdd9b
1 changed files with 1 additions and 0 deletions
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in a new issue