Fixing w5500.
This commit is contained in:
parent
4a4e5fba12
commit
38fea81c4b
|
@ -326,7 +326,7 @@ void wiz_client_op_test(int argc, char *argv[]) {
|
||||||
KPrintf("wiz client to %d.%d.%d.%d:%d\n", ip[0], ip[1], ip[2], ip[3], port);
|
KPrintf("wiz client to %d.%d.%d.%d:%d\n", ip[0], ip[1], ip[2], ip[3], port);
|
||||||
uint8_t buf[g_wiznet_buf_size];
|
uint8_t buf[g_wiznet_buf_size];
|
||||||
sscanf(argv[3], "%s", buf);
|
sscanf(argv[3], "%s", buf);
|
||||||
while (true) {
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue