Skip to content

Commit 0c957d0

Browse files
committed
deprecationWarning: changed boolean to bool in various examples
1 parent 26647fd commit 0c957d0

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

examples/ESP32/PushData/PushData.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ unsigned long long getEpochMillis() {
7474
}
7575

7676
// function to publish payload to device shadow
77-
boolean publishToDeviceShadow() {
77+
bool publishToDeviceShadow() {
7878
static int sequence = 0;
7979
unsigned long long milliseconds = 0;
8080
char deviceShadowStream[] = "device_shadow";

examples/ESP32/ToggleLED/ToggleLED.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ unsigned long long getEpochMillis() {
8989
}
9090

9191
// function to publish payload to device shadow
92-
boolean publishToDeviceShadow() {
92+
bool publishToDeviceShadow() {
9393
static int sequence = 0;
9494
unsigned long long milliseconds = 0;
9595
char ledStatus[200] = "";

examples/ESP32/UpdateConfig/UpdateConfig.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ unsigned long long getEpochMillis() {
7777
}
7878

7979
// function to publish payload to device shadow
80-
boolean publishToDeviceShadow() {
80+
bool publishToDeviceShadow() {
8181
static int sequence = 0;
8282
unsigned long long milliseconds = 0;
8383
char ledStatus[200] = "";

examples/ESP8266/ToggleLED/ToggleLED.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ unsigned long long getEpochMillis() {
8989
}
9090

9191
// function to publish payload to device shadow
92-
boolean publishToDeviceShadow() {
92+
bool publishToDeviceShadow() {
9393
static int sequence = 0;
9494
unsigned long long milliseconds = 0;
9595
char ledStatus[200] = "";

0 commit comments

Comments
 (0)