Adjusted Initialization of MAC address
Fork of WIZnetInterface by
Diff: arch/int/W7500x_toe.cpp
- Revision:
- 29:c91884bd2713
- Parent:
- 28:200e63e513a8
diff -r 200e63e513a8 -r c91884bd2713 arch/int/W7500x_toe.cpp --- 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; }