Skip to content

Commit 5e4ac94

Browse files
library/WiFi: Formatting, Makefile: Removed.
Signed-off-by: Ramya Subramanyam <[email protected]>
1 parent 5950967 commit 5e4ac94

File tree

5 files changed

+5
-89
lines changed

5 files changed

+5
-89
lines changed

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ repos:
33
hooks:
44
- id: codeformat-c-cpp
55
name: Running clang formatter for changed C/ C++ files
6-
entry: tools/code_checks/run_clang_format.sh ./cores/psoc/*
6+
entry: extras/makers-devops/tools/code_checks/run_clang_format.sh ./cores/psoc/*
77
language: system
88
- id: codeformat-python
99
name: Running black formatter for changed python scripts files

Makefile

Lines changed: 0 additions & 81 deletions
This file was deleted.

libraries/WiFi/src/WiFi.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,6 @@ class WiFiClass {
169169
static void set_ap_params(cy_wcm_ap_config_t *ap_config, const char *ssid, const char *passphrase, uint8_t channel);
170170
};
171171

172-
extern WiFiClass & WiFi;
172+
extern WiFiClass &WiFi;
173173

174174
#endif /* WIFI_H */

libraries/WiFi/src/WiFiClient.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,13 @@
22
#ifndef WIFI_CLIENT_H
33
#define WIFI_CLIENT_H
44

5-
#include <memory>
6-
#include <SecSocket.h>
75
#include "Client.h"
86
#include "Print.h"
7+
#include <SecSocket.h>
98
#include <Socket.h>
109
#include <memory>
1110

12-
class WiFiClient: public arduino::Client {
11+
class WiFiClient : public arduino::Client {
1312

1413
public:
1514
WiFiClient();

libraries/WiFi/src/WiFiServer.h

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,11 @@
22
#define WIFI_SERVER_H
33

44
#include "Server.h"
5+
#include <SecSocket.h>
56
#include <Socket.h>
67
#include <WiFiClient.h>
78
#include <stdint.h>
89
#include <vector>
9-
#include <WiFiClient.h>
10-
#include <SecSocket.h>
11-
#include "Server.h"
1210

1311
class WiFiServer : public arduino::Server {
1412

0 commit comments

Comments
 (0)