2019-03-01 13:12:11 -05:00
|
|
|
menu "Example Configuration"
|
|
|
|
|
2021-11-23 07:02:49 -05:00
|
|
|
config SNTP_TIME_SERVER
|
|
|
|
string "SNTP server name"
|
|
|
|
default "pool.ntp.org"
|
|
|
|
help
|
|
|
|
Hostname of the main SNTP server.
|
|
|
|
|
2019-03-01 13:12:11 -05:00
|
|
|
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
|