Added RAW sockets.
Fork of WIZnetInterface by
Diff: arch/ext/W5500.cpp
- Revision:
- 26:d07c80e18b27
- Parent:
- 14:2101ab5ee40f
- Child:
- 27:1169973d836c
--- a/arch/ext/W5500.cpp Mon Jun 29 07:27:34 2015 +0000 +++ b/arch/ext/W5500.cpp Mon Oct 05 05:41:00 2015 +0000 @@ -16,7 +16,8 @@ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ #include "eth_arch.h" -#if not defined(TARGET_WIZwiki_W7500) +#if (not defined TARGET_WIZwiki_W7500) && (not defined TARGET_WIZwiki_W7500P) + #include "mbed.h" #include "mbed_debug.h" @@ -330,7 +331,7 @@ t.start(); while(1) { int is_link = ethernet_link(); - printf("is_link:%d\r\n", is_link); + if (is_link) { return true; }