add getsock(), setsock()
Fork of WIZnetInterface by
Diff: arch/ext/W5500.cpp
- Revision:
- 19:d8773cd4edc5
- Parent:
- 14:2101ab5ee40f
--- a/arch/ext/W5500.cpp Mon Jun 29 04:05:10 2015 +0000 +++ b/arch/ext/W5500.cpp Wed Jul 01 04:02:50 2015 +0000 @@ -330,7 +330,7 @@ t.start(); while(1) { int is_link = ethernet_link(); - printf("is_link:%d\r\n", is_link); + if (is_link) { return true; }