Skip to content

Commit 046cf1d

Browse files
author
Marc Emmers
committed
Ticker test: Add ticker_irq_handler call because the time reaching the previous interrupt_timestamp would have triggered one anyway
1 parent b01b173 commit 046cf1d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

TESTS/mbed_hal/ticker/main.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -697,6 +697,7 @@ static void test_legacy_insert_event_multiple_overflow()
697697
interface_stub.timestamp =
698698
last_timestamp_to_insert +
699699
((ref_event_timestamp - last_timestamp_to_insert) / 2);
700+
ticker_irq_handler(&ticker_stub);
700701

701702
for (size_t i = 0; i < MBED_ARRAY_SIZE(events); ++i) {
702703
ticker_insert_event(

0 commit comments

Comments
 (0)