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 1, 2022
1 parent 04f088b commit e2bebd6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/WiFi101.h
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,8 @@ class WiFiClass
void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway);
void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet);

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

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

0 comments on commit e2bebd6

Please sign in to comment.