Skip to content

Commit abf452c

Browse files
authored
Merge pull request #232 from per1234/boolean-bool
Replace boolean type with bool in examples
2 parents 7cddccf + c5726a7 commit abf452c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/MDNS_WiFiWebServer/MDNS_WiFiWebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ void loop() {
103103
if (client) {
104104
Serial.println("new client");
105105
// an http request ends with a blank line
106-
boolean currentLineIsBlank = true;
106+
bool currentLineIsBlank = true;
107107
while (client.connected()) {
108108
if (client.available()) {
109109
char c = client.read();

examples/Provisioning_WiFiWebServer/Provisioning_WiFiWebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ void loop() {
9999
if (client) {
100100
Serial.println("new client");
101101
// an http request ends with a blank line
102-
boolean currentLineIsBlank = true;
102+
bool currentLineIsBlank = true;
103103
while (client.connected()) {
104104
if (client.available()) {
105105
char c = client.read();

examples/WiFiChatServer/WiFiChatServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ int status = WL_IDLE_STATUS;
3333

3434
WiFiServer server(23);
3535

36-
boolean alreadyConnected = false; // whether or not the client was connected previously
36+
bool alreadyConnected = false; // whether or not the client was connected previously
3737

3838
void setup() {
3939
//Initialize serial and wait for port to open:

examples/WiFiWebServer/WiFiWebServer.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void loop() {
6868
if (client) {
6969
Serial.println("new client");
7070
// an http request ends with a blank line
71-
boolean currentLineIsBlank = true;
71+
bool currentLineIsBlank = true;
7272
while (client.connected()) {
7373
if (client.available()) {
7474
char c = client.read();

0 commit comments

Comments
 (0)