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:
Sylvio Alves <sylvio.alves@espressif.com>
Loading
Please sign in to comment