Skip to content

Commit

Permalink
WiFi.setHostname as alias for void hostname(name)
Browse files Browse the repository at this point in the history
for WiFiNINA API compatibility
  • Loading branch information
JAndrassy committed Sep 2, 2022
1 parent 04f088b commit f306fa7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/WiFi101.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ class WiFiClass
void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet);

void hostname(const char* name);
void setHostname(const char* name) {hostname(name);}

void disconnect();
void end();
Expand Down

0 comments on commit f306fa7

Please sign in to comment.