Function esp_idf_sys::esp_netif_sntp_sync_wait
source · pub unsafe extern "C" fn esp_netif_sntp_sync_wait(
tout: TickType_t,
) -> esp_err_t
Expand description
@brief Wait for time sync event @param tout Specified timeout in RTOS ticks @return ESP_TIMEOUT if sync event didn’t came withing the timeout ESP_ERR_NOT_FINISHED if the sync event came, but we’re in smooth update mode and still in progress (SNTP_SYNC_STATUS_IN_PROGRESS) ESP_OK if time sync’ed