The official Mbed 2 C/C++ SDK provides the software platform and libraries to build your applications.

Dependents:   hello SerialTestv11 SerialTestv12 Sierpinski ... more

mbed 2

This is the mbed 2 library. If you'd like to learn about Mbed OS please see the mbed-os docs.

Revision:
146:22da6e220af6
Parent:
145:64910690c574
--- a/drivers/LowPowerTimeout.h	Wed Jun 21 17:31:38 2017 +0100
+++ b/drivers/LowPowerTimeout.h	Thu Jul 06 15:30:22 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) {