Ticker test: Add ticker_irq_handler call because the time reaching the previous interrupt_timestamp would have triggered one anyway

pull/6515/head
Marc Emmers 2018-04-10 08:45:27 +02:00
parent b01b173214
commit 046cf1dc58
1 changed files with 1 additions and 0 deletions

View File

@ -697,6 +697,7 @@ static void test_legacy_insert_event_multiple_overflow()
interface_stub.timestamp =
last_timestamp_to_insert +
((ref_event_timestamp - last_timestamp_to_insert) / 2);
ticker_irq_handler(&ticker_stub);
for (size_t i = 0; i < MBED_ARRAY_SIZE(events); ++i) {
ticker_insert_event(