updated

Fork of MotionSensor by Components

Revision:
6:4f04e7f62403
Parent:
5:226520fc09bf
--- a/MotionSensor.h	Thu Jun 18 22:52:47 2015 +0000
+++ b/MotionSensor.h	Fri Feb 26 19:57:07 2016 +0000
@@ -25,7 +25,7 @@
     int16_t x;      /*!< x-axis counts */
     int16_t y;      /*!< y-axis counts */
     int16_t z;      /*!< z-axis counts */
-} motion_data_counts_t;
+} MotionSensorDataCounts;
 
 /** motion_data_units_t struct
  */
@@ -33,7 +33,7 @@
     float x;        /*!< x-axis counts */
     float y;        /*!< y-axis counts */
     float z;        /*!< z-axis counts */
-} motion_data_units_t;
+} MotionSensorDataUnits;
 
 
 /** Motion Sensor Base Class
@@ -101,12 +101,12 @@
     /** Get the x,y,z data in counts
         @param xyz A referene to the variable to put the data in, 0 denotes not used
      */
-    virtual void getAxis(motion_data_counts_t &xyz) const = 0;
+    virtual void getAxis(MotionSensorDataCounts &xyz) const = 0;
 
     /** Get the x,y,z data in units
         @param xyz A referene to the variable to put the data in, 0 denotes not used
      */
-    virtual void getAxis(motion_data_units_t &xyz) const = 0;
+    virtual void getAxis(MotionSensorDataUnits &xyz) const = 0;
 };
 
 #endif