Lancaster University's (short term!) clone of mbed-src for micro:bit. This is a copy of the github branch https://github.com/lancaster-university/mbed-classic
Fork of mbed-src by
Diff: common/Ticker.cpp
- Revision:
- 304:89b9c3a9a045
- Parent:
- 36:ab3ee77451e7
- Child:
- 525:c320967f86b9
--- 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());