Commit 7da83618 authored by Krzysztof Chruściński's avatar Krzysztof Chruściński Committed by Carles Cufi
Browse files

tests: portability: cmsis_rtos_v2: Inrease timeout

Increase timer timeout. 5ms timeout was too short for some
devices (e.g. with slow and blocking uart output).

Signed-off-by: default avatarKrzysztof Chruscinski <krzysztof.chruscinski@nordicsemi.no>
parent 0eaba1dc
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/subsys/portability/cmsis_rtos_v2/src/timer.c: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -8,7 +8,7 @@
#include <cmsis_os2.h>

#define ONESHOT_TIME_TICKS      100
#define PERIOD_TICKS            MAX(50, k_ms_to_ticks_ceil32(5))
#define PERIOD_TICKS            MAX(50, k_ms_to_ticks_ceil32(10))
#define NUM_PERIODS             5

uint32_t num_oneshots_executed;