mbed library sources. Supersedes mbed-src.
Fork of mbed-dev by
Diff: hal/mbed_ticker_api.c
- Revision:
- 175:af195413fb11
- Parent:
- 174:b96e65c34a4d
--- a/hal/mbed_ticker_api.c Mon Oct 02 15:33:19 2017 +0100 +++ b/hal/mbed_ticker_api.c Wed Oct 11 12:45:49 2017 +0100 @@ -263,6 +263,7 @@ us_timestamp_t ticker_read_us(const ticker_data_t *const ticker) { + initialize(ticker); update_present_time(ticker); return ticker->queue->present_time; }