Include us_ticker.h in scheduler implementation.

Niklas Hauser 2016-04-07 12:43:38 +01:00 committed by Martin Kojtal
parent 62dec8f6e0
commit 53b9fe2820
1 changed files with 5 additions and 0 deletions

View File

@ -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;