ST Expansion SW Team / X_NUCLEO_53L1A2

Dependencies:   VL53L1CB

Dependents:   VL53L1CB_NoShield_1sensor_polling_multizone_MB6 VL53L1CB_NoShield_3sensors_interrupt_ranging_MB6 VL53L1CB_NoShield_MB6_3sensors_interrupt_ranging VL53L1CB_shield_1sensor_interrupt_auton ... more

Revision:
3:ac8e3765ece8
Parent:
2:4c77be1be0e3
--- a/XNucleo53L1A1.cpp	Sun Nov 08 13:51:43 2020 +0000
+++ b/XNucleo53L1A1.cpp	Sun Nov 08 14:58:47 2020 +0000
@@ -64,7 +64,7 @@
         printf("Sensor centre present\n\r");
         n_dev++;
     }
-#if (MBED_VERSION  > 60100)
+#if (MBED_VERSION  > 60300) 
     thread_sleep_for(2);
 #else
     wait_ms(2);  // NEEDS A DELAY BETWEEN SENSORS
@@ -87,7 +87,7 @@
         n_dev++;
     }
 
-#if (MBED_VERSION  > 60100)
+#if (MBED_VERSION  > 60300) 
     thread_sleep_for(50);
 #else
     wait_ms(50);  // NEEDS A DELAY BETWEEN SENSORS
@@ -106,7 +106,7 @@
         printf("Sensor right present\n\r");
         n_dev++;
     }
-#if (MBED_VERSION  > 60100)
+#if (MBED_VERSION  > 60300) 
     thread_sleep_for(50);
 #else
     wait_ms(50);  // NEEDS A DELAY BETWEEN SENSORS