Skip to content
Commit ec960096 authored by Benjamin Cabé's avatar Benjamin Cabé Committed by Benjamin Cabé
Browse files

drivers: tests: rtc: relax y2k test seconds check



When testing y2k rollover, the seconds value can easily be off by one
since there is no guarantee that the RTC will be exactly on the second
boundary.
Relax the check to allow for a one second difference.

Signed-off-by: default avatarBenjamin Cabé <benjamin@zephyrproject.org>
parent 850a3b31
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment