test

Fork of mbed-dev by mbed official

Revision:
176:af195413fb11
Parent:
175: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;
 }