esp_system, esp_timer: fix time function description

This commit is contained in:
Renz Bagaporo 2021-03-09 09:12:24 +08:00
parent 131bbbd5c4
commit d7e9567c00
2 changed files with 3 additions and 4 deletions

View File

@ -61,11 +61,11 @@ void esp_reset_reason_set_hint(esp_reset_reason_t hint);
*/
esp_reset_reason_t esp_reset_reason_get_hint(void);
/**
* @brief Get the time in microseconds since startup
*
* @returns time since startup in microseconds
* @returns time since g_startup_time; definition should be fixed by system time provider
* no matter the underlying timer used.
*/
int64_t esp_system_get_time(void);

View File

@ -184,8 +184,7 @@ esp_err_t esp_timer_delete(esp_timer_handle_t timer);
/**
* @brief Get time in microseconds since boot
* @return number of microseconds since esp_timer_init was called (this normally
* happens early during application startup).
* @return number of microseconds since underlying timer has been started
*/
int64_t esp_timer_get_time(void);