Jamie Satchell
/
JSatchell_SOFT253ReferredCoursework
Finished project.
Fork of ReferredCoursework2016 by
Diff: Components/lsm6ds0/lsm6ds0_class.h
- Revision:
- 44:d757094f6229
- Parent:
- 43:2544d064d528
- Child:
- 46:badcff0675e8
diff -r 2544d064d528 -r d757094f6229 Components/lsm6ds0/lsm6ds0_class.h --- a/Components/lsm6ds0/lsm6ds0_class.h Mon Jun 08 13:57:32 2015 +0200 +++ b/Components/lsm6ds0/lsm6ds0_class.h Mon Jun 08 15:36:36 2015 +0200 @@ -56,6 +56,10 @@ LSM6DS0(DevI2C &i2c) : GyroSensor(), MotionSensor(), dev_i2c(i2c) { } + /** Destructor + */ + virtual ~LSM6DS0() {} + /*** Interface Methods ***/ virtual int Init(void *init_struct) { return LSM6DS0_Init((IMU_6AXES_InitTypeDef*)init_struct);