Suppressed conflicting destructor function.
Dependencies: X_NUCLEO_COMMON ST_INTERFACES
Dependents: D7A_1x_TRAINING D7_MLX_AND_BAT D7A_1x_demo_sensors_v3
Fork of X_NUCLEO_IKS01A1 by
Diff: x_nucleo_iks01a1.h
- Revision:
- 85:cb636b531652
- Parent:
- 84:7e38323c9488
- Child:
- 86:c5e05108d07b
--- a/x_nucleo_iks01a1.h Wed Jun 01 16:40:49 2016 +0200 +++ b/x_nucleo_iks01a1.h Wed Jun 01 16:52:28 2016 +0200 @@ -83,6 +83,11 @@ protected: X_NUCLEO_IKS01A1(DevI2C *ext_i2c, PinName ff_irq_pin); + ~X_NUCLEO_IKS01A1(void) { + /* should never be called */ + error("Trial to delete X_NUCLEO_IKS01A1 singleton!\n"); + } + /** * @brief Initialize the singleton's sensors to default settings * @retval true if initialization successful,