Skip to content

Commit 9661ded

Browse files
committed
fix: formatting
1 parent 0e44f52 commit 9661ded

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

libraries/ESP8266WebServer/examples/Filters/Filters.ino

+10-10
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,19 @@ void setup(void) {
7272

7373
// This route will be accessible by STA clients only
7474
server.on("/", [&]() {
75-
digitalWrite(led, 1);
76-
server.send(200, "text/plain", "Hi!, This route is accessible for STA clients only");
77-
digitalWrite(led, 0);
78-
})
79-
.setFilter(ON_STA_FILTER);
75+
digitalWrite(led, 1);
76+
server.send(200, "text/plain", "Hi!, This route is accessible for STA clients only");
77+
digitalWrite(led, 0);
78+
})
79+
.setFilter(ON_STA_FILTER);
8080

8181
// This route will be accessible by AP clients only
8282
server.on("/", [&]() {
83-
digitalWrite(led, 1);
84-
server.send(200, "text/plain", "Hi!, This route is accessible for AP clients only");
85-
digitalWrite(led, 0);
86-
})
87-
.setFilter(ON_AP_FILTER);
83+
digitalWrite(led, 1);
84+
server.send(200, "text/plain", "Hi!, This route is accessible for AP clients only");
85+
digitalWrite(led, 0);
86+
})
87+
.setFilter(ON_AP_FILTER);
8888

8989
server.on("/inline", []() {
9090
server.send(200, "text/plain", "this works as well");

libraries/ESP8266WebServer/examples/WebServer/WebServer.ino

+1-1
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public:
153153
// Close the file
154154
if (_fsUploadFile) { _fsUploadFile.close(); }
155155
} // if
156-
} // upload()
156+
} // upload()
157157

158158
protected:
159159
File _fsUploadFile;

0 commit comments

Comments
 (0)