updated
Fork of MotionSensor by
Revision 6:4f04e7f62403, committed 2016-02-26
- Comitter:
- co838_ad543
- Date:
- Fri Feb 26 19:57:07 2016 +0000
- Parent:
- 5:226520fc09bf
- Commit message:
- updated version
Changed in this revision
MotionSensor.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r 226520fc09bf -r 4f04e7f62403 MotionSensor.h --- 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