mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
020047b0f9
Also updates NTP example test to allow more attempts
24 lines
672 B
Plaintext
24 lines
672 B
Plaintext
menu "Example Configuration"
|
|
|
|
config SNTP_TIME_SERVER
|
|
string "SNTP server name"
|
|
default "pool.ntp.org"
|
|
help
|
|
Hostname of the main SNTP server.
|
|
|
|
choice SNTP_TIME_SYNC_METHOD
|
|
prompt "Time synchronization method"
|
|
default SNTP_TIME_SYNC_METHOD_IMMED
|
|
help
|
|
Time synchronization method.
|
|
|
|
config SNTP_TIME_SYNC_METHOD_IMMED
|
|
bool "update time immediately when received"
|
|
config SNTP_TIME_SYNC_METHOD_SMOOTH
|
|
bool "update time with smooth method (adjtime)"
|
|
config SNTP_TIME_SYNC_METHOD_CUSTOM
|
|
bool "custom implementation"
|
|
endchoice
|
|
|
|
endmenu
|