skm project

Fork of MotionSensor by Components

Revision:
1:821b100de6e1
Parent:
0:dbc8909af0eb
Child:
2:efad17aa7c8e
--- a/MotionSensor.h	Wed Apr 23 16:23:55 2014 +0000
+++ b/MotionSensor.h	Wed Apr 23 17:12:04 2014 +0000
@@ -17,7 +17,7 @@
 class MotionSensor
 {
 public:
-    virtual MotionSesnor();
+    virtual MotionSensor();
     virtual void enable(void) = 0;
     virtual void disable(void) = 0;
     virtual uint32_t sampleRate(uint32_t frequency) = 0;
@@ -29,8 +29,8 @@
     virtual float getX(void) = 0;
     virtual float getY(void) = 0;
     virtual float getZ(void) = 0;
-    virtual void getAxis(MotionSensorDataCounts data) = 0;
-    virtual void getAxis(MotionSensorDataUnits data) = 0;
+    virtual void getAxis(MotionSensorDataCounts * data) = 0;
+    virtual void getAxis(MotionSensorDataUnits * data) = 0;
 };
 
 #endif