helpfor studient
Dependents: STM32_F103-C8T6basecanblink_led
Fork of mbed-dev by
Diff: hal/mbed_ticker_api.c
- Revision:
- 176:af195413fb11
- Parent:
- 174:b96e65c34a4d
- Child:
- 181:96ed750bd169
diff -r b96e65c34a4d -r af195413fb11 hal/mbed_ticker_api.c --- 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; }