Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: x_nucleo_iks01a1.cpp
- Revision:
- 46:badcff0675e8
- Parent:
- 44:d757094f6229
- Child:
- 52:54553fd15b50
diff -r d757094f6229 -r badcff0675e8 x_nucleo_iks01a1.cpp
--- a/x_nucleo_iks01a1.cpp Mon Jun 08 15:36:36 2015 +0200
+++ b/x_nucleo_iks01a1.cpp Mon Jun 08 17:22:35 2015 +0200
@@ -190,7 +190,7 @@
uint8_t xg_id = 0;
/* Check presence */
- if((gyro_lsm6ds3 != NULL) ||
+ if((gyro_lsm6ds3 != NULL) || // by default do not instantiate two gyroscopes
(gyro_lsm6ds0->ReadID(&xg_id) != IMU_6AXES_OK) ||
(xg_id != I_AM_LSM6DS0_XG))
{
