Fixing w5500.

This commit is contained in:
TXuian 2022-12-10 12:30:20 +08:00
parent 38fea81c4b
commit 82b116e4f1
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ void wiz_client_op_test(int argc, char *argv[]) {
while (1) { while (1) {
int ret = int ret =
wiz_client_op(client_sock, buf, g_wiznet_buf_size, ip, port, SEND_DATA); 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"); KPrintf("[W5500] Client Op Failed.\n");
} }
MdelayKTask(10); MdelayKTask(10);