From 1231fb82e36a1e8372a188fe965f44a0b26b1548 Mon Sep 17 00:00:00 2001 From: Mimmo La Fauci Date: Tue, 26 Mar 2013 22:25:55 +0100 Subject: [PATCH] Fix WiFi interface for static IP --- libraries/WiFi/WiFi.h | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) diff --git a/libraries/WiFi/WiFi.h b/libraries/WiFi/WiFi.h index 83368f743..2c155358d 100755 --- a/libraries/WiFi/WiFi.h +++ b/libraries/WiFi/WiFi.h @@ -68,26 +68,17 @@ public: /* Change Ip configuration settings disabling the dhcp client * * param local_ip: Static ip configuration - * param dns_server: Static DNS server configuration + * param gateway : Static gateway configuration */ - void config(IPAddress local_ip, IPAddress dns_server); + void config(IPAddress local_ip, IPAddress gateway); /* Change Ip configuration settings disabling the dhcp client * * param local_ip: Static ip configuration - * param dns_server: Static DNS server configuration * param gateway: Static gateway configuration + * param subnet: Static Subnet mask */ - void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway); - - /* Change Ip configuration settings disabling the dhcp client - * - * param local_ip: Static ip configuration - * param dns_server: Static DNS server configuration - * param gateway: Static gateway configuration - * param subnet: Static subnet mask configuration - */ - void config(IPAddress local_ip, IPAddress dns_server, IPAddress gateway, IPAddress subnet); + void config(IPAddress local_ip, IPAddress gateway, IPAddress subnet); /* Change DNS Ip configuration *