diff --git a/src/platforms/rp2040/tests/test_erl_sources/test_clocks.erl b/src/platforms/rp2040/tests/test_erl_sources/test_clocks.erl index 7e184e6e6..76e278a11 100644 --- a/src/platforms/rp2040/tests/test_erl_sources/test_clocks.erl +++ b/src/platforms/rp2040/tests/test_erl_sources/test_clocks.erl @@ -34,6 +34,8 @@ start() -> true -> ok end, + % give time to the emulator to synchronize rtc time and system time + timer:sleep(500), test_clock(system_time_after_set_rtc, fun() -> erlang:system_time(millisecond) end), NewDate = erlang:universaltime(), if