mbed library sources
Dependents: frdm_kl05z_gpio_test
Fork of mbed-src by
Diff: common/Ticker.cpp
- Revision:
- 304:89b9c3a9a045
- Parent:
- 36:ab3ee77451e7
diff -r 78e31413b129 -r 89b9c3a9a045 common/Ticker.cpp --- a/common/Ticker.cpp Fri Aug 29 11:45:07 2014 +0100 +++ b/common/Ticker.cpp Fri Aug 29 17:15:07 2014 +0100 @@ -25,7 +25,7 @@ _function.attach(0); } -void Ticker::setup(unsigned int t) { +void Ticker::setup(timestamp_t t) { remove(); _delay = t; insert(_delay + us_ticker_read());