mbed library sources

Fork of mbed-src by mbed official

Revision:
525:c320967f86b9
Parent:
304:89b9c3a9a045
Child:
547:88c982c8f758
diff -r c0134becc221 -r c320967f86b9 api/Ticker.h
--- a/api/Ticker.h	Mon Apr 27 09:45:08 2015 +0100
+++ b/api/Ticker.h	Tue Apr 28 11:45:12 2015 +0100
@@ -57,6 +57,11 @@
 class Ticker : public TimerEvent {
 
 public:
+    Ticker() : TimerEvent() {
+    }
+
+    Ticker(const ticker_data_t *const data) : TimerEvent(data) {
+    }
 
     /** Attach a function to be called by the Ticker, specifiying the interval in seconds
      *