New
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_IKS01A1 by
Diff: Components/lis3mdl/lis3mdl_class.h
- Revision:
- 44:d757094f6229
- Parent:
- 43:2544d064d528
- Child:
- 45:dbab09cb27d9
- Child:
- 46:badcff0675e8
--- a/Components/lis3mdl/lis3mdl_class.h Mon Jun 08 13:57:32 2015 +0200 +++ b/Components/lis3mdl/lis3mdl_class.h Mon Jun 08 15:36:36 2015 +0200 @@ -55,6 +55,10 @@ LIS3MDL(DevI2C &i2c) : MagneticSensor(), dev_i2c(i2c) { } + /** Destructor + */ + virtual ~LIS3MDL() {} + /*** Interface Methods ***/ virtual int Init(void *init_struct) { return LIS3MDL_Init((MAGNETO_InitTypeDef*)init_struct);