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: X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: x_nucleo_iks01a1.cpp
- Revision:
- 20:c20c8bd5be6b
- Parent:
- 15:472cf58b9c11
- Child:
- 24:92cc9c6e4b2b
--- a/x_nucleo_iks01a1.cpp Fri May 29 14:23:22 2015 +0200
+++ b/x_nucleo_iks01a1.cpp Fri May 29 16:29:31 2015 +0200
@@ -132,7 +132,7 @@
return false;
}
- if(magnetometer.Read_M_ID(&m_id) != MAGNETO_OK)
+ if(magnetometer.ReadID(&m_id) != MAGNETO_OK)
{
return false;
}
@@ -205,7 +205,7 @@
return false;
}
- if(gyroscope.Read_XG_ID(&xg_id) != IMU_6AXES_OK)
+ if(gyroscope.ReadID(&xg_id) != IMU_6AXES_OK)
{
return false;
}
