modify for blynk
Fork of WIZnetInterface by
Diff: arch/int/W7500x_toe.cpp
- Revision:
- 15:24a9f2df2145
- Parent:
- 14:2101ab5ee40f
- Child:
- 19:d8773cd4edc5
- Child:
- 24:06e3836a627b
--- a/arch/int/W7500x_toe.cpp Wed Jun 17 00:24:45 2015 +0000 +++ b/arch/int/W7500x_toe.cpp Mon Jun 22 09:11:47 2015 +0000 @@ -50,7 +50,6 @@ WIZnet_Chip::WIZnet_Chip() { inst = this; - mdio_init(GPIO_MDC, MDC, MDIO); } bool WIZnet_Chip::setmac() @@ -146,6 +145,8 @@ wait_ms(10);//for S/W reset wait_ms(10);//for MDC I/F RDY + mdio_init(GPIO_MDC, MDC, MDIO); + /* S/W Reset WZTOE */ reg_wr<uint8_t>(MR, MR_RST); // set PAD strengh and pull-up for TXD[3:0] and TXE