root root / WIZnetInterface

Dependents:   espyun espyun

Fork of WIZnetInterface by jiang hao

Revision:
31:f6a5f6d1978b
Parent:
30:6feeaebad180
--- a/arch/int/W7500x_toe.cpp	Fri Nov 04 02:28:28 2016 +0000
+++ b/arch/int/W7500x_toe.cpp	Fri Nov 04 12:09:25 2016 +0000
@@ -154,17 +154,14 @@
 	   return true;
 	   }
 	 */
-	Serial pc4(PA_13,PA_14);
-	pc4.baud(115200);
-	pc4.printf("in isconnected4\r\n");
+	
 	uint8_t tmpSn_SR;
 	tmpSn_SR = sreg<uint8_t>(socket, Sn_SR);
 	// packet sending is possible, when state is SOCK_CLOSE_WAIT.
 	if ((tmpSn_SR == SOCK_ESTABLISHED) || (tmpSn_SR == SOCK_CLOSE_WAIT)) {
-		pc4.printf("return true\r\n");
 		return true;
 	}
-	pc4.printf("return false\r\n");
+	
 	return false;
 }
 // Reset the chip & set the buffer