modify for blynk
Fork of WIZnetInterface by
Diff: arch/int/W7500x_toe.cpp
- Revision:
- 19:d8773cd4edc5
- Parent:
- 15:24a9f2df2145
- Child:
- 25:48abbe1d9bab
- Child:
- 27:1169973d836c
diff -r 27b3e3a39df4 -r d8773cd4edc5 arch/int/W7500x_toe.cpp --- a/arch/int/W7500x_toe.cpp Mon Jun 29 04:05:10 2015 +0000 +++ b/arch/int/W7500x_toe.cpp Wed Jul 01 04:02:50 2015 +0000 @@ -312,7 +312,7 @@ t.start(); while(1) { int is_link = ethernet_link(); - printf("is_link:%d\r\n", is_link); + if (is_link) { return true; }