diff --git a/samples/posix/gettimeofday/prj.conf b/samples/posix/gettimeofday/prj.conf index 8cfc26955d1..5bc3ed7ec33 100644 --- a/samples/posix/gettimeofday/prj.conf +++ b/samples/posix/gettimeofday/prj.conf @@ -5,6 +5,7 @@ CONFIG_POSIX_API=y CONFIG_SNTP=y CONFIG_NET_CONFIG_CLOCK_SNTP_INIT=y CONFIG_NET_CONFIG_SNTP_INIT_SERVER="time.nist.gov" +CONFIG_NET_CONFIG_SNTP_INIT_RESYNC=y # Networking config CONFIG_NETWORKING=y