Adjusted Initialization of MAC address
Fork of WIZnetInterface by
Revision 24:06e3836a627b, committed 2015-06-29
- Comitter:
- embeddist
- Date:
- Mon Jun 29 07:27:34 2015 +0000
- Parent:
- 18:27b3e3a39df4
- Child:
- 26:d07c80e18b27
- Commit message:
- remove dummy code
Changed in this revision
| EthernetInterface.cpp | Show annotated file Show diff for this revision Revisions of this file |
| arch/int/W7500x_toe.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/EthernetInterface.cpp Mon Jun 29 04:05:10 2015 +0000
+++ b/EthernetInterface.cpp Mon Jun 29 07:27:34 2015 +0000
@@ -56,10 +56,6 @@
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();
return 0;
}
--- a/arch/int/W7500x_toe.cpp Mon Jun 29 04:05:10 2015 +0000
+++ b/arch/int/W7500x_toe.cpp Mon Jun 29 07:27:34 2015 +0000
@@ -312,7 +312,7 @@
t.start();
while(1) {
int is_link = ethernet_link();
- printf("is_link:%d\r\n", is_link);
+ //printf("is_link:%d\r\n", is_link);
if (is_link) {
return true;
}
