We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 365fd52 commit b22cef0Copy full SHA for b22cef0
tests/kernel/timer/timer_api/src/main.c
@@ -204,7 +204,9 @@ void test_timer_period_0(void)
204
busy_wait_ms(DURATION + 1);
205
206
/** TESTPOINT: ensure it is one-short timer */
207
- TIMER_ASSERT(tdata.expire_cnt == 1, &period0_timer);
+ TIMER_ASSERT((tdata.expire_cnt == 1)
208
+ || (INEXACT_MS_CONVERT
209
+ && (tdata.expire_cnt == 0)), &period0_timer);
210
TIMER_ASSERT(tdata.stop_cnt == 0, &period0_timer);
211
212
/* cleanup environemtn */
0 commit comments