diff --git a/examples/Flight1/Flight1.ino b/examples/Flight1/Flight1.ino index 316a078..f36cc25 100644 --- a/examples/Flight1/Flight1.ino +++ b/examples/Flight1/Flight1.ino @@ -1367,7 +1367,7 @@ void loop() } //if distance < 1.3 m - if (RangeStatus != 4) + if (RangeStatus == 0) { // we have a valid range. status = sensor_vl53l1_left->VL53L1X_GetDistance(&distance_left); @@ -1413,7 +1413,7 @@ void loop() SerialPort.println("GetRangeStatus right sensor failed"); } //if distance < 1.3 m - if (RangeStatus != 4) + if (RangeStatus == 0) { // we have a valid range. status = sensor_vl53l1_right->VL53L1X_GetDistance(&distance_right); diff --git a/library.properties b/library.properties index f80dc5c..7a8a508 100644 --- a/library.properties +++ b/library.properties @@ -1,5 +1,5 @@ name=STM32duino FP_Examples -version=1.3.0 +version=1.3.1 author=STMicroelectronics maintainer=stm32duino sentence=Provides several Function Packs that combine the usage of several X-NUCLEO boards