mbed library sources, mbed-dev only for TYBLE16
Fork of mbed-dev by
Please refer flowing link.
/users/kenjiArai/notebook/tyble16-module-will-become-a-mbed-family--mbedliza/
Diff: drivers/LowPowerTimeout.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
diff -r e84263d55307 -r 9672193075cf drivers/LowPowerTimeout.h --- a/drivers/LowPowerTimeout.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/LowPowerTimeout.h Thu Jul 06 15:42:05 2017 +0100 @@ -22,6 +22,7 @@ #include "hal/lp_ticker_api.h" #include "drivers/LowPowerTicker.h" +#include "platform/NonCopyable.h" namespace mbed { /** \addtogroup drivers */ @@ -31,7 +32,7 @@ * @note Synchronization level: Interrupt safe * @ingroup drivers */ -class LowPowerTimeout : public LowPowerTicker { +class LowPowerTimeout : public LowPowerTicker, private NonCopyable<LowPowerTimeout> { private: virtual void handler(void) {