esp_system: link time, not runtime, dependency on esp_timer

This commit is contained in:
Renz Bagaporo
2020-07-14 14:46:13 +08:00
parent 346cf4430d
commit da88671491
12 changed files with 73 additions and 103 deletions

View File

@@ -62,13 +62,8 @@ void esp_reset_reason_set_hint(esp_reset_reason_t hint);
esp_reset_reason_t esp_reset_reason_get_hint(void);
/**
* @brief Set function which provides `esp_system_get_time`.
*
* @param time_fn function which provides system time
* @param resolution resolution in microseconds of the time provider function specified
* @brief Get the time in microseconds since startup
*/
void esp_system_set_time_provider(esp_system_time_fn_t time_fn, uint32_t resolution);
#ifdef __cplusplus