mbed library sources(for async_print)
Fork of mbed-src by
Diff: api/Ticker.h
- Revision:
- 525:c320967f86b9
- Parent:
- 304:89b9c3a9a045
- Child:
- 547:88c982c8f758
--- 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 *