From 53b9fe282067320c3eaf28a67c90ee4ab89be090 Mon Sep 17 00:00:00 2001 From: Niklas Hauser Date: Thu, 7 Apr 2016 12:43:38 +0100 Subject: [PATCH] Include us_ticker.h in scheduler implementation. --- "frameworks\\utest/source/shim.cpp" | 5 +++++ 1 file changed, 5 insertions(+) diff --git "a/frameworks\\utest/source/shim.cpp" "b/frameworks\\utest/source/shim.cpp" index 80d783aae7..bb66fff80f 100644 --- "a/frameworks\\utest/source/shim.cpp" +++ "b/frameworks\\utest/source/shim.cpp" @@ -54,6 +54,11 @@ utest_v1_scheduler_t utest_v1_get_scheduler() } #elif UTEST_SHIM_SCHEDULER_USE_US_TICKER +#ifdef YOTTA_MBED_HAL_VERSION_STRING +# include "mbed-hal/us_ticker.h" +#else +# include "us_ticker.h" +#endif // only one callback is active at any given time static volatile utest_v1_harness_callback_t minimal_callback; static volatile utest_v1_harness_callback_t ticker_callback;