diff --git a/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/third_party_driver/ethernet/connect_w5500.c b/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/third_party_driver/ethernet/connect_w5500.c index aede8cabe..bee00441f 100644 --- a/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/third_party_driver/ethernet/connect_w5500.c +++ b/Ubiquitous/XiZi_IIoT/board/xidatong-riscv64/third_party_driver/ethernet/connect_w5500.c @@ -329,7 +329,7 @@ void wiz_client_op_test(int argc, char *argv[]) { while (1) { int ret = wiz_client_op(client_sock, buf, g_wiznet_buf_size, ip, port, SEND_DATA); - if (ret <= 0) { + if (ret < 0) { KPrintf("[W5500] Client Op Failed.\n"); } MdelayKTask(10);