Skip to content

Commit

Permalink
adds esp8266-style hostname setting (#4938)
Browse files Browse the repository at this point in the history
a little step to make esp8266 code compile without changes under esp32
  • Loading branch information
holgerlembke authored Mar 15, 2021
1 parent 8dc70e0 commit 35643bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions libraries/WiFi/src/WiFiSTA.h
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ class WiFiSTAClass

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();
Expand Down

0 comments on commit 35643bd

Please sign in to comment.