Skip to content

Commit 652fb82

Browse files
committed
format codes
1 parent 116e7d0 commit 652fb82

File tree

7 files changed

+11
-11
lines changed

7 files changed

+11
-11
lines changed

inc/wiz.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

inc/wiz_socket.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

src/wiz.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -252,9 +252,9 @@ static int wiz_chip_cfg_init(void)
252252
return -RT_ERROR;
253253
}
254254

255-
struct wiz_NetTimeout_t net_timeout;
256-
net_timeout.retry_cnt=5;
257-
net_timeout.time_100us=20000;
255+
struct wiz_NetTimeout_t net_timeout;
256+
net_timeout.retry_cnt=5;
257+
net_timeout.time_100us=20000;
258258
ctlnetwork(CN_SET_TIMEOUT, (void*) &net_timeout);
259259

260260
return RT_EOK;

src/wiz_af_inet.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

src/wiz_device.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

src/wiz_ping.c

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*
@@ -196,7 +196,7 @@ int wiz_ping(struct netdev *netdev, const char *host, size_t data_len, uint32_t
196196
rt_kprintf("wiz_ping: pf or pf->skt_ops is RT_NULL.\n");
197197
return -RT_FALSE;
198198
}
199-
199+
200200
hostent = (struct hostent *) pf->netdb_ops->gethostbyname(host);
201201
if (hostent == RT_NULL)
202202
{

src/wiz_socket.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2006-2018, RT-Thread Development Team
2+
* Copyright (c) 2006-2022, RT-Thread Development Team
33
*
44
* SPDX-License-Identifier: Apache-2.0
55
*

0 commit comments

Comments
 (0)