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.
Fork of ReferredCoursework2016 by
Diff: Components/lis3mdl/lis3mdl_class.h
- Revision:
- 44:d757094f6229
- Parent:
- 43:2544d064d528
- Child:
- 45:dbab09cb27d9
- Child:
- 46:badcff0675e8
diff -r 2544d064d528 -r d757094f6229 Components/lis3mdl/lis3mdl_class.h --- 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);