mbed library sources. Supersedes mbed-src. Fixed broken STM32F1xx RTC on rtc_api.c
Dependents: Nucleo_F103RB_RTC_battery_bkup_pwr_off_okay
Fork of mbed-dev by
Diff: drivers/LowPowerTimer.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
diff -r e84263d55307 -r 9672193075cf drivers/LowPowerTimer.h --- a/drivers/LowPowerTimer.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/LowPowerTimer.h Thu Jul 06 15:42:05 2017 +0100 @@ -18,6 +18,7 @@ #include "platform/platform.h" #include "drivers/Timer.h" +#include "platform/NonCopyable.h" #if defined (DEVICE_LOWPOWERTIMER) || defined(DOXYGEN_ONLY) @@ -31,7 +32,7 @@ * @note Synchronization level: Interrupt safe * @ingroup drivers */ -class LowPowerTimer : public Timer { +class LowPowerTimer : public Timer, private NonCopyable<LowPowerTimer> { public: LowPowerTimer() : Timer(get_lp_ticker_data()) {