mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-01 06:27:29 +00:00
sntp: Add API to set update interval
Closes: https://github.com/espressif/esp-idf/issues/4437 Closes: IDFGH-2298
This commit is contained in:

committed by
Mahavir Jain

parent
28314f9bb0
commit
98495e5939
@@ -844,7 +844,10 @@
|
||||
*/
|
||||
#define SNTP_SERVER_DNS 1
|
||||
|
||||
#define SNTP_UPDATE_DELAY CONFIG_LWIP_SNTP_UPDATE_DELAY
|
||||
// It disables a check of SNTP_UPDATE_DELAY it is done in sntp_set_sync_interval
|
||||
#define SNTP_SUPPRESS_DELAY_CHECK
|
||||
|
||||
#define SNTP_UPDATE_DELAY (sntp_get_sync_interval())
|
||||
|
||||
#define SNTP_SET_SYSTEM_TIME_US(sec, us) \
|
||||
do { \
|
||||
|
Reference in New Issue
Block a user