Skip to content

Commit 53b9fe2

Browse files
niklarm0xc0170
authored andcommitted
Include us_ticker.h in scheduler implementation.
1 parent 62dec8f commit 53b9fe2

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

frameworks\utest/source/shim.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ utest_v1_scheduler_t utest_v1_get_scheduler()
5454
}
5555

5656
#elif UTEST_SHIM_SCHEDULER_USE_US_TICKER
57+
#ifdef YOTTA_MBED_HAL_VERSION_STRING
58+
# include "mbed-hal/us_ticker.h"
59+
#else
60+
# include "us_ticker.h"
61+
#endif
5762
// only one callback is active at any given time
5863
static volatile utest_v1_harness_callback_t minimal_callback;
5964
static volatile utest_v1_harness_callback_t ticker_callback;

0 commit comments

Comments
 (0)