.
Fork of WIZnet_Library by
Diff: WIZnetInterface/WIZnetInterface.cpp
- Revision:
- 6:ca8405b9564d
- Parent:
- 1:8138a268fbd2
diff -r 89edb39d8707 -r ca8405b9564d WIZnetInterface/WIZnetInterface.cpp --- a/WIZnetInterface/WIZnetInterface.cpp Mon Oct 06 01:35:09 2014 +0000 +++ b/WIZnetInterface/WIZnetInterface.cpp Fri Apr 24 08:19:14 2015 +0000 @@ -114,7 +114,7 @@ if (err == (-1)) { return -1; } -// printf("Connected, IP: %d.%d.%d.%d\n", dhcp.yiaddr[0], dhcp.yiaddr[1], dhcp.yiaddr[2], dhcp.yiaddr[3]); + // printf("Connected, IP: %d.%d.%d.%d\n", dhcp.yiaddr[0], dhcp.yiaddr[1], dhcp.yiaddr[2], dhcp.yiaddr[3]); ip = (dhcp.yiaddr[0] <<24) | (dhcp.yiaddr[1] <<16) | (dhcp.yiaddr[2] <<8) | dhcp.yiaddr[3]; gateway = (dhcp.gateway[0]<<24) | (dhcp.gateway[1]<<16) | (dhcp.gateway[2]<<8) | dhcp.gateway[3]; netmask = (dhcp.netmask[0]<<24) | (dhcp.netmask[1]<<16) | (dhcp.netmask[2]<<8) | dhcp.netmask[3];