Skip to content
Commit 5a205518 authored by Sylvio Alves's avatar Sylvio Alves Committed by Henrik Brix Andersen
Browse files

tests: drivers: counter: fix no_alarm use case



In the test scenario without alarms, it might
be the case that counter is already running and
it will not match the expected tick.
This adds a tick offset into the expected value
based on current counter reading.

Signed-off-by: default avatarSylvio Alves <sylvio.alves@espressif.com>
parent 7668a4d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment