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
Revision 29:c91884bd2713, committed 2015-11-17
- Comitter:
- embeddist
- Date:
- Tue Nov 17 06:35:55 2015 +0000
- Parent:
- 28:200e63e513a8
- Child:
- 30:b67bcc6ee0bb
- Commit message:
- Fixed setMAC() functions
Changed in this revision
| arch/int/W7500x_toe.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/arch/int/W7500x_toe.cpp Thu Oct 29 13:29:46 2015 +0000
+++ b/arch/int/W7500x_toe.cpp Tue Nov 17 06:35:55 2015 +0000
@@ -76,9 +76,7 @@
bool WIZnet_Chip::setmac()
{
-
- for (int i =0; i < 6; i++) reg_wr<uint8_t>(SHAR+i, mac[i]);
-
+ reg_wr_mac(SHAR, mac);
return true;
}
