removed X-NUCLEO-COMMON and ST-INTERFACES
Dependents: unh-hackathon-example unh-hackathon-example-raw
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lis3mdl/lis3mdl_class.h
- Revision:
- 92:d1c67d482bad
- Parent:
- 88:7b8d3316d753
diff -r c21be6c34852 -r d1c67d482bad Components/lis3mdl/lis3mdl_class.h --- a/Components/lis3mdl/lis3mdl_class.h Thu Mar 23 13:05:15 2017 +0000 +++ b/Components/lis3mdl/lis3mdl_class.h Fri Mar 24 10:57:29 2017 +0100 @@ -60,19 +60,19 @@ virtual ~LIS3MDL() {} /*** Interface Methods ***/ - virtual int Init(void *init_struct) { + virtual int init(void *init_struct) { return LIS3MDL_Init((MAGNETO_InitTypeDef*)init_struct); } - virtual int ReadID(uint8_t *m_id) { + virtual int read_id(uint8_t *m_id) { return LIS3MDL_Read_M_ID(m_id); } - virtual int Get_M_Axes(int32_t *pData) { + virtual int get_m_axes(int32_t *pData) { return LIS3MDL_M_GetAxes(pData); } - virtual int Get_M_AxesRaw(int16_t *pData) { + virtual int get_m_axes_raw(int16_t *pData) { return LIS3MDL_M_GetAxesRaw(pData); }