Browse Source

format codes

Meco Man 4 years ago
parent
commit
652fb829b1
7 changed files with 11 additions and 11 deletions
  1. 1 1
      inc/wiz.h
  2. 1 1
      inc/wiz_socket.h
  3. 4 4
      src/wiz.c
  4. 1 1
      src/wiz_af_inet.c
  5. 1 1
      src/wiz_device.c
  6. 2 2
      src/wiz_ping.c
  7. 1 1
      src/wiz_socket.c

+ 1 - 1
inc/wiz.h

@@ -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
  *

+ 1 - 1
inc/wiz_socket.h

@@ -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
  *

+ 4 - 4
src/wiz.c

@@ -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
  *
@@ -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;

+ 1 - 1
src/wiz_af_inet.c

@@ -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
  *

+ 1 - 1
src/wiz_device.c

@@ -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
  *

+ 2 - 2
src/wiz_ping.c

@@ -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
  *
@@ -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)
     {

+ 1 - 1
src/wiz_socket.c

@@ -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
  *