Skip to content

Commit

Permalink
format codes
Browse files Browse the repository at this point in the history
  • Loading branch information
mysterywolf committed Jan 13, 2022
1 parent 116e7d0 commit 652fb82
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion inc/wiz.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion inc/wiz_socket.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
8 changes: 4 additions & 4 deletions src/wiz.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -252,9 +252,9 @@ static int wiz_chip_cfg_init(void)
return -RT_ERROR;
}

struct wiz_NetTimeout_t net_timeout;
net_timeout.retry_cnt=5;
net_timeout.time_100us=20000;
struct wiz_NetTimeout_t net_timeout;
net_timeout.retry_cnt=5;
net_timeout.time_100us=20000;
ctlnetwork(CN_SET_TIMEOUT, (void*) &net_timeout);

return RT_EOK;
Expand Down
2 changes: 1 addition & 1 deletion src/wiz_af_inet.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
2 changes: 1 addition & 1 deletion src/wiz_device.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down
4 changes: 2 additions & 2 deletions src/wiz_ping.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down Expand Up @@ -196,7 +196,7 @@ int wiz_ping(struct netdev *netdev, const char *host, size_t data_len, uint32_t
rt_kprintf("wiz_ping: pf or pf->skt_ops is RT_NULL.\n");
return -RT_FALSE;
}

hostent = (struct hostent *) pf->netdb_ops->gethostbyname(host);
if (hostent == RT_NULL)
{
Expand Down
2 changes: 1 addition & 1 deletion src/wiz_socket.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2006-2018, RT-Thread Development Team
* Copyright (c) 2006-2022, RT-Thread Development Team
*
* SPDX-License-Identifier: Apache-2.0
*
Expand Down

0 comments on commit 652fb82

Please sign in to comment.