Finished project.

Dependencies:   X_NUCLEO_COMMON

Fork of ReferredCoursework2016 by Stage-1 Students SoCEM

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);
 	}