Multitech mDot/UDK support.
Dependencies: ST_INTERFACES X_NUCLEO_COMMON
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,
