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

Files at this revision

API Documentation at this revision

Comitter:
cparata
Date:
Tue Feb 08 08:27:15 2022 +0000
Parent:
8:9a1017389cc7
Commit message:
Fix typo on MBED_MAJOR_VERSION

Changed in this revision

LSM6DSLSensor.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 9a1017389cc7 -r fad44d0eacd4 LSM6DSLSensor.cpp
--- 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);