iNEMO inertial module: 3D accelerometer and 3D gyroscope.

Dependencies:   X_NUCLEO_COMMON ST_INTERFACES

Dependents:   HelloWorld_ST_Sensors MOTENV_Mbed mbed-os-mqtt-client LSM6DSL_JS ... more

Revision:
9:fad44d0eacd4
Parent:
8:9a1017389cc7
--- a/LSM6DSLSensor.cpp	Wed Jan 26 14:10:11 2022 +0000
+++ b/LSM6DSLSensor.cpp	Tue Feb 08 08:27:15 2022 +0000
@@ -1104,7 +1104,7 @@
     return 1;
   }
   
-#if MBED_VERSION_MAJOR == 5
+#if MBED_MAJOR_VERSION == 5
   wait_ms(10);
 #else
   ThisThread::sleep_for(10ms);