mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-01 19:54:32 +02:00
fix(c++): invalid conversion from int to enumeration
This commit is contained in:
@@ -50,7 +50,7 @@ typedef void (*esp_sntp_time_cb_t)(struct timeval *tv);
|
||||
.start = true, \
|
||||
.sync_cb = NULL, \
|
||||
.renew_servers_after_new_IP = false, \
|
||||
.ip_event_to_renew = 0, \
|
||||
.ip_event_to_renew = IP_EVENT_STA_GOT_IP, \
|
||||
.index_of_first_server = 0, \
|
||||
.num_of_servers = (servers_in_list), \
|
||||
.servers = list_of_servers, \
|
||||
|
Reference in New Issue
Block a user