Fixing w5500.

This commit is contained in:
TXuian 2022-12-10 13:53:37 +08:00
parent 236ec6692e
commit c4b26cefd2
1 changed files with 5 additions and 7 deletions

View File

@ -343,7 +343,6 @@ void wiz_client_op_test(int argc, char *argv[]) {
if (ret < 0) {
KPrintf("[W5500] Client Op Failed.\n");
}
while (1) {
// waiting for a responding.
ret = wiz_client_op(client_sock, recv_buf, g_wiznet_buf_size, ip, port,
RECV_DATA);
@ -352,7 +351,6 @@ void wiz_client_op_test(int argc, char *argv[]) {
break;
}
}
}
SHELL_EXPORT_CMD(SHELL_CMD_PERMISSION(0) | SHELL_CMD_TYPE(SHELL_TYPE_CMD_MAIN) |
SHELL_CMD_PARAM_NUM(3),