From 6e975952f8144add60a190d054c6d21b173d66c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fin=20Maa=C3=9F?= Date: Tue, 10 Sep 2024 10:09:14 +0200 Subject: [PATCH] samples: posix: gettimeofday: add sntp resync option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit add sntp resync option to sample. Signed-off-by: Fin Maaß --- samples/posix/gettimeofday/prj.conf | 1 + 1 file changed, 1 insertion(+) 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