Skip to content

Commit 6c262df

Browse files
authored
Merge pull request #13 from per1234/boolean-bool
Replace boolean type with bool in examples
2 parents a7bdbaa + 2f5242d commit 6c262df

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

examples/ArduinoYun/SendAnEmail/SendAnEmail.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ const String GMAIL_APP_PASSWORD = "xxxxxxxxxx";
7070
const String TO_EMAIL_ADDRESS = "xxxxxxxxxx";
7171

7272
// a flag to indicate whether we've tried to send the email yet or not
73-
boolean attempted = false;
73+
bool attempted = false;
7474

7575
void setup() {
7676
Serial.begin(9600);

examples/ArduinoYun/SendAnSMS/SendAnSMS.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const String TWILIO_NUMBER = "xxxxxxxxxx";
5555
const String RECIPIENT_NUMBER = "xxxxxxxxxx";
5656

5757
// a flag to indicate whether we've attempted to send the SMS yet or not
58-
boolean attempted = false;
58+
bool attempted = false;
5959

6060
void setup() {
6161
Serial.begin(9600);

examples/ArduinoYun/UploadToDropbox/UploadToDropbox.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const String DROPBOX_ACCESS_TOKEN = "xxxxxxxxxx";
5353
const String DROPBOX_ACCESS_TOKEN_SECRET = "xxxxxxxxxx";
5454

5555

56-
boolean success = false; // a flag to indicate whether we've uploaded the file yet
56+
bool success = false; // a flag to indicate whether we've uploaded the file yet
5757

5858
void setup() {
5959
Serial.begin(9600);

0 commit comments

Comments
 (0)