samples: posix: gettimeofday: add sntp resync option
add sntp resync option to sample. Signed-off-by: Fin Maaß <f.maass@vogl-electronic.com>
This commit is contained in:
parent
b32a44aa7e
commit
6e975952f8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue