esp_timer: correct startup time

This commit is contained in:
Renz Bagaporo
2021-03-08 23:01:40 +08:00
parent 5a90113136
commit 74de5a7c58
4 changed files with 63 additions and 18 deletions

View File

@@ -132,3 +132,10 @@ uint64_t esp_timer_impl_get_counter_reg(void);
* @return the value of the alarm register
*/
uint64_t esp_timer_impl_get_alarm_reg(void);
#if CONFIG_ESP_TIME_FUNCS_USE_ESP_TIMER
/**
* @brief Initialize esp_timer as system time provider.
*/
void esp_timer_impl_init_system_time(void);
#endif