Skip to content

Commit b1dc9c4

Browse files
committed
Use bool instead of boolean
arduino/Arduino#4673 Signed-off-by: Frederic.Pillon <[email protected]>
1 parent 0b3d758 commit b1dc9c4

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Diff for: examples/Boards/STM32L475VG-DISCOVERY-IOT/BTLE_sensors_TimeOfFlight_demo/BTLE_sensors_TimeOfFlight_demo.ino

+4-4
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ void SetupSingleShot(void){
118118
}
119119

120120
/* function to detect swipe on vl53l0x */
121-
boolean swipe_detected() {
121+
bool swipe_detected() {
122122
int gesture_code;
123123
int status;
124-
boolean ret = false;
124+
bool ret = false;
125125

126126
sensor_vl53l0x->StartMeasurement();
127127

@@ -182,10 +182,10 @@ boolean swipe_detected() {
182182
}
183183

184184
/* function to detect tap on vl53l0x */
185-
boolean tap_detected() {
185+
bool tap_detected() {
186186
int gesture_code;
187187
int status;
188-
boolean ret = false;
188+
bool ret = false;
189189

190190
sensor_vl53l0x->StartMeasurement();
191191

0 commit comments

Comments
 (0)