Skip to content

Commit 51619d0

Browse files
authored
Merge pull request #11 from cparata/master
Fix issue on directional swipe
2 parents b3c27fd + 34c1697 commit 51619d0

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

examples/Flight1/Flight1.ino

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1367,7 +1367,7 @@ void loop()
13671367
}
13681368

13691369
//if distance < 1.3 m
1370-
if (RangeStatus != 4)
1370+
if (RangeStatus == 0)
13711371
{
13721372
// we have a valid range.
13731373
status = sensor_vl53l1_left->VL53L1X_GetDistance(&distance_left);
@@ -1413,7 +1413,7 @@ void loop()
14131413
SerialPort.println("GetRangeStatus right sensor failed");
14141414
}
14151415
//if distance < 1.3 m
1416-
if (RangeStatus != 4)
1416+
if (RangeStatus == 0)
14171417
{
14181418
// we have a valid range.
14191419
status = sensor_vl53l1_right->VL53L1X_GetDistance(&distance_right);

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=STM32duino FP_Examples
2-
version=1.3.0
2+
version=1.3.1
33
author=STMicroelectronics
44
maintainer=stm32duino
55
sentence=Provides several Function Packs that combine the usage of several X-NUCLEO boards

0 commit comments

Comments
 (0)