mbed library sources. Supersedes mbed-src.

Dependents:   Nucleo_Hello_Encoder BLE_iBeaconScan AM1805_DEMO DISCO-F429ZI_ExportTemplate1 ... more

Revision:
168:9672193075cf
Parent:
167:e84263d55307
Child:
182:a56a73fd2a6f
--- a/drivers/TimerEvent.h	Wed Jun 21 17:46:44 2017 +0100
+++ b/drivers/TimerEvent.h	Thu Jul 06 15:42:05 2017 +0100
@@ -18,6 +18,7 @@
 
 #include "hal/ticker_api.h"
 #include "hal/us_ticker_api.h"
+#include "platform/NonCopyable.h"
 
 namespace mbed {
 /** \addtogroup drivers */
@@ -27,7 +28,7 @@
  * @note Synchronization level: Interrupt safe
  * @ingroup drivers
  */
-class TimerEvent {
+class TimerEvent : private NonCopyable<TimerEvent> {
 public:
     TimerEvent();
     TimerEvent(const ticker_data_t *data);