Skip to content
Commit d26d3f9f authored by Peter Mitsis's avatar Peter Mitsis Committed by Anas Nashif
Browse files

test: Change loop calibration count initialization



The kernel/context test_timer_interrupts() test has a loop calibration
phase to estimate the number of loops needed for 1 system tick.
By initializing this calibration to 1 instead of 0, we can avoid an
edge condition where the calibration phase indicates 0 loops are
required (a case that could happen when running on a slow simulator).

Signed-off-by: default avatarPeter Mitsis <peter.mitsis@intel.com>
parent d2fff07b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment