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.
Dependents: iks01a1_acc LoRaWAN-demo-72_mdotIKS01A1 MTDOT-UDKDemo_Senet MTDOT-UDKDemo
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lis3mdl/lis3mdl_class.h
- Revision:
- 18:1cb4ae9d83e7
- Parent:
- 6:8d2abd695c52
- Child:
- 20:c20c8bd5be6b
--- a/Components/lis3mdl/lis3mdl_class.h Wed May 27 12:03:41 2015 +0200
+++ b/Components/lis3mdl/lis3mdl_class.h Fri May 29 14:23:22 2015 +0200
@@ -56,15 +56,15 @@
}
/*** Interface Methods ***/
- virtual MAGNETO_StatusTypeDef Init(MAGNETO_InitTypeDef *init_struct) {
- return LIS3MDL_Init(init_struct);
+ virtual int Init(void *init_struct) {
+ return LIS3MDL_Init((MAGNETO_InitTypeDef*)init_struct);
}
- virtual MAGNETO_StatusTypeDef Read_M_ID(uint8_t *m_id) {
+ virtual int Read_M_ID(uint8_t *m_id) {
return LIS3MDL_Read_M_ID(m_id);
}
- virtual MAGNETO_StatusTypeDef Get_M_Axes(int32_t *pData) {
+ virtual int Get_M_Axes(int32_t *pData) {
return LIS3MDL_M_GetAxes(pData);
}
