Version of the IKS01A1 library for this coursework
Dependencies: X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lsm6ds0/lsm6ds0_class.h
- Revision:
- 44:d757094f6229
- Parent:
- 43:2544d064d528
- Child:
- 46:badcff0675e8
--- 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);