mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-02 14:49:04 +00:00
sntp/lwip: Add some modes for time synchronization
Closes: IDF-236 Closes: https://github.com/espressif/esp-idf/pull/1668 Closes: https://github.com/espressif/esp-idf/pull/4103
This commit is contained in:

committed by
bot

parent
626684578a
commit
07a3eca372
@@ -14,4 +14,18 @@ menu "Example Configuration"
|
||||
|
||||
Can be left blank if the network has no security set.
|
||||
|
||||
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
|
||||
|
Reference in New Issue
Block a user