ESE project: portable camera safe box
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lis3mdl/lis3mdl_class.h
- Revision:
- 24:92cc9c6e4b2b
- Parent:
- 20:c20c8bd5be6b
- Child:
- 34:ed7ca069781e
- Child:
- 36:8c73dbe43cf2
--- a/Components/lis3mdl/lis3mdl_class.h Fri May 29 16:50:56 2015 +0200 +++ b/Components/lis3mdl/lis3mdl_class.h Wed Jun 03 14:57:57 2015 +0200 @@ -68,12 +68,15 @@ return LIS3MDL_M_GetAxes(pData); } + virtual int Get_M_AxesRaw(int16_t *pData) { + return LIS3MDL_M_GetAxesRaw(pData); + } + protected: /*** Methods ***/ MAGNETO_StatusTypeDef LIS3MDL_Init(MAGNETO_InitTypeDef *LIS3MDL_Init); MAGNETO_StatusTypeDef LIS3MDL_Read_M_ID(uint8_t *m_id); MAGNETO_StatusTypeDef LIS3MDL_M_GetAxes(int32_t *pData); - MAGNETO_StatusTypeDef LIS3MDL_M_GetAxesRaw(int16_t *pData); /**