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.
Dependents: Check_VL6180XA1_ToF
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)
