File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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);
Original file line number Diff line number Diff line change 11name =STM32duino FP_Examples
2- version =1.3.0
2+ version =1.3.1
33author =STMicroelectronics
44maintainer =stm32duino
55sentence =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