Stage-1 Students SoCEM / Mbed OS ReferredCoursework2016

Dependencies:   X_NUCLEO_COMMON

Fork of X_NUCLEO_IKS01A1 by ST

Revision:
18:1cb4ae9d83e7
Parent:
4:566f2c41dc1d
--- a/Components/Common/Magneto.h	Wed May 27 12:03:41 2015 +0200
+++ b/Components/Common/Magneto.h	Fri May 29 14:23:22 2015 +0200
@@ -42,7 +42,6 @@
 
 /* Includes ------------------------------------------------------------------*/
 #include "mbed.h"
-#include "magneto.h"
 
 /* Classes  ------------------------------------------------------------------*/
 /** An abstract class for Magneto components
@@ -50,9 +49,9 @@
 class Magneto
 {
  public:
-	virtual MAGNETO_StatusTypeDef Init(MAGNETO_InitTypeDef*) = 0;
-	virtual MAGNETO_StatusTypeDef Read_M_ID(uint8_t*) = 0;
-	virtual MAGNETO_StatusTypeDef Get_M_Axes(int32_t*) = 0;
+	virtual int Init(void*) = 0;
+	virtual int Read_M_ID(uint8_t*) = 0;
+	virtual int Get_M_Axes(int32_t*) = 0;
 
  protected:
 	Magneto(void) {};