Skip to content

Commit 1231fb8

Browse files
committed
Fix WiFi interface for static IP
1 parent 7fa3820 commit 1231fb8

File tree

1 file changed

+4
-13
lines changed

1 file changed

+4
-13
lines changed

libraries/WiFi/WiFi.h

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -68,26 +68,17 @@ class WiFiClass
6868
/* Change Ip configuration settings disabling the dhcp client
6969
*
7070
* param local_ip: Static ip configuration
71-
* param dns_server: Static DNS server configuration
71+
* param gateway : Static gateway configuration
7272
*/
73-
void config(IPAddress local_ip, IPAddress dns_server);
73+
void config(IPAddress local_ip, IPAddress gateway);
7474

7575
/* Change Ip configuration settings disabling the dhcp client
7676
*
7777
* param local_ip: Static ip configuration
78-
* param dns_server: Static DNS server configuration
7978
* param gateway: Static gateway configuration
79+
* param subnet: Static Subnet mask
8080
*/
81-
void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway);
82-
83-
/* Change Ip configuration settings disabling the dhcp client
84-
*
85-
* param local_ip: Static ip configuration
86-
* param dns_server: Static DNS server configuration
87-
* param gateway: Static gateway configuration
88-
* param subnet: Static subnet mask configuration
89-
*/
90-
void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet);
81+
void config(IPAddress local_ip, IPAddress gateway, IPAddress subnet);
9182

9283
/* Change DNS Ip configuration
9384
*

0 commit comments

Comments
 (0)