Skip to content

Commit 6e97595

Browse files
maass-hamburgcarlescufi
authored andcommitted
samples: posix: gettimeofday: add sntp resync option
add sntp resync option to sample. Signed-off-by: Fin Maaß <[email protected]>
1 parent b32a44a commit 6e97595

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

samples/posix/gettimeofday/prj.conf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ CONFIG_POSIX_API=y
55
CONFIG_SNTP=y
66
CONFIG_NET_CONFIG_CLOCK_SNTP_INIT=y
77
CONFIG_NET_CONFIG_SNTP_INIT_SERVER="time.nist.gov"
8+
CONFIG_NET_CONFIG_SNTP_INIT_RESYNC=y
89

910
# Networking config
1011
CONFIG_NETWORKING=y

0 commit comments

Comments
 (0)