Jamie Satchell
/
JSatchell_SOFT253ReferredCoursework
Finished project.
Fork of ReferredCoursework2016 by
Diff: Components/lsm6ds0/lsm6ds0_class.h
- Revision:
- 18:1cb4ae9d83e7
- Parent:
- 7:a2bb3d5e12e9
- Child:
- 20:c20c8bd5be6b
--- a/Components/lsm6ds0/lsm6ds0_class.h Wed May 27 12:03:41 2015 +0200 +++ b/Components/lsm6ds0/lsm6ds0_class.h Fri May 29 14:23:22 2015 +0200 @@ -56,27 +56,27 @@ } /*** Interface Methods ***/ - virtual IMU_6AXES_StatusTypeDef Init(IMU_6AXES_InitTypeDef *init_struct) { - return LSM6DS0_Init(init_struct); + virtual int Init(void *init_struct) { + return LSM6DS0_Init((IMU_6AXES_InitTypeDef*)init_struct); } - virtual IMU_6AXES_StatusTypeDef Read_XG_ID(uint8_t *xg_id) { + virtual int Read_XG_ID(uint8_t *xg_id) { return LSM6DS0_Read_XG_ID(xg_id); } - virtual IMU_6AXES_StatusTypeDef Get_X_Axes(int32_t *pData) { + virtual int Get_X_Axes(int32_t *pData) { return LSM6DS0_X_GetAxes(pData); } - virtual IMU_6AXES_StatusTypeDef Get_G_Axes(int32_t *pData) { + virtual int Get_G_Axes(int32_t *pData) { return LSM6DS0_G_GetAxes(pData); } - virtual IMU_6AXES_StatusTypeDef Get_X_Sensitivity(float *pfData) { + virtual int Get_X_Sensitivity(float *pfData) { return LSM6DS0_X_GetSensitivity(pfData); } - virtual IMU_6AXES_StatusTypeDef Get_G_Sensitivity(float *pfData) { + virtual int Get_G_Sensitivity(float *pfData) { return LSM6DS0_G_GetSensitivity(pfData); }