Skip to content

Commit a716ad7

Browse files
mprse0xc0170
authored andcommitted
tests-mbed_drivers-timerevent: perform test only if USTICKER support is enabled.
1 parent 5c62186 commit a716ad7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

TESTS/mbed_drivers/timerevent/main.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,10 @@
2323

2424
using namespace utest::v1;
2525

26+
#if !DEVICE_USTICKER
27+
#error [NOT_SUPPORTED] test not supported
28+
#endif
29+
2630
#define TEST_DELAY_US 50000ULL
2731

2832
class TestTimerEvent: public TimerEvent {

0 commit comments

Comments
 (0)