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.
Diff: X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp
- Revision:
- 2:f23b144da50a
- Parent:
- 0:69566eea0fba
- Child:
- 6:7a7f36ab6c20
diff -r 4c13def99152 -r f23b144da50a X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp
--- a/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp Fri Aug 12 13:57:55 2016 +0000
+++ b/X_NUCLEO_IKS01A2/x_nucleo_iks01a2.cpp Fri Aug 19 12:13:37 2016 +0000
@@ -54,7 +54,11 @@
pt_sensor(new LPS22HBSensor(*dev_i2c)),
acc_gyro(new LSM6DSLSensor(*dev_i2c))
{
-
+ ht_sensor->Init(NULL);
+ magnetometer->Init(NULL);
+ accelerometer->Init(NULL);
+ pt_sensor->Init(NULL);
+ acc_gyro->Init(NULL);
}
/**