INSAT Mini Project
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
Fork of X_NUCLEO_6180XA1 by
Diff: Components/VL6180X/vl6180x_class.h
- Revision:
- 23:dfb5ccc7b780
- Parent:
- 21:5fb360508b6e
- Child:
- 24:025afc3fe30f
--- a/Components/VL6180X/vl6180x_class.h Wed Oct 28 14:56:22 2015 +0000 +++ b/Components/VL6180X/vl6180x_class.h Fri Oct 30 11:35:36 2015 +0100 @@ -122,7 +122,9 @@ /** Destructor */ - //~VL6180X(){} + //virtual ~VL6180X(){} + /* FIXME warning: VL6180X class inherits from GenericSensor, RangeSensor and LightSensor, that haven`t a destructor. + The warning should request to introduce a virtual destructor to make sure to delete the object */ /* turns on the sensor */ void VL6180x_On(void)