Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: internet_radio_leo
Fork of WIZnetInterface by
Diff: EthernetInterface.cpp
- Revision:
- 4:4930f81bbe98
- Parent:
- 3:f8c6efc8bf83
- Child:
- 7:da6fcec0f3fe
--- a/EthernetInterface.cpp Mon Jun 15 12:55:19 2015 +0000
+++ b/EthernetInterface.cpp Mon Jun 15 22:12:21 2015 +0900
@@ -54,8 +54,11 @@
this->netmask = str_to_ip(mask);
this->gateway = str_to_ip(gateway);
reset();
+
+ // @Jul. 8. 2014 add code. should be called to write chip.
+ setmac();
+ setip();
- if (WIZnet_Chip::setip() == false) return -1;
return 0;
}
