Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
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);