File tree 2 files changed +3
-3
lines changed 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1367,7 +1367,7 @@ void loop()
1367
1367
}
1368
1368
1369
1369
// if distance < 1.3 m
1370
- if (RangeStatus != 4 )
1370
+ if (RangeStatus == 0 )
1371
1371
{
1372
1372
// we have a valid range.
1373
1373
status = sensor_vl53l1_left->VL53L1X_GetDistance (&distance_left);
@@ -1413,7 +1413,7 @@ void loop()
1413
1413
SerialPort.println (" GetRangeStatus right sensor failed" );
1414
1414
}
1415
1415
// if distance < 1.3 m
1416
- if (RangeStatus != 4 )
1416
+ if (RangeStatus == 0 )
1417
1417
{
1418
1418
// we have a valid range.
1419
1419
status = sensor_vl53l1_right->VL53L1X_GetDistance (&distance_right);
Original file line number Diff line number Diff line change 1
1
name =STM32duino FP_Examples
2
- version =1.3.0
2
+ version =1.3.1
3
3
author =STMicroelectronics
4
4
maintainer =stm32duino
5
5
sentence =Provides several Function Packs that combine the usage of several X-NUCLEO boards
You can’t perform that action at this time.
0 commit comments