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/Timer.h
- Revision:
- 168:9672193075cf
- Parent:
- 167:e84263d55307
- Child:
- 174:b96e65c34a4d
--- a/drivers/Timer.h Wed Jun 21 17:46:44 2017 +0100 +++ b/drivers/Timer.h Thu Jul 06 15:42:05 2017 +0100 @@ -18,6 +18,7 @@ #include "platform/platform.h" #include "hal/ticker_api.h" +#include "platform/NonCopyable.h" namespace mbed { /** \addtogroup drivers */ @@ -46,7 +47,7 @@ * @endcode * @ingroup drivers */ -class Timer { +class Timer : private NonCopyable<Timer> { public: Timer();