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.
Fork of WIZnetInterface by
Diff: EthernetInterface.cpp
- Revision:
- 20:bda61525ac71
- Parent:
- 7:da6fcec0f3fe
- Child:
- 27:1169973d836c
diff -r d8773cd4edc5 -r bda61525ac71 EthernetInterface.cpp
--- a/EthernetInterface.cpp Wed Jul 01 04:02:50 2015 +0000
+++ b/EthernetInterface.cpp Wed Jul 22 02:11:37 2015 +0000
@@ -33,6 +33,14 @@
}
#endif
+int EthernetInterface::init()
+{
+ dhcp = true;
+ reset();
+
+ return 0;
+}
+
int EthernetInterface::init(uint8_t * mac)
{
dhcp = true;
