mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 06:04:19 +00:00
esp_timer: allow querying the timer before esp_timer_init is called
This commit is contained in:

committed by
Cao Sen Miao

parent
e525964f67
commit
249abb3fe8
@@ -428,6 +428,11 @@ static IRAM_ATTR inline bool is_initialized(void)
|
||||
return s_timer_task != NULL;
|
||||
}
|
||||
|
||||
esp_err_t esp_timer_early_init(void)
|
||||
{
|
||||
return esp_timer_impl_early_init();
|
||||
}
|
||||
|
||||
esp_err_t esp_timer_init(void)
|
||||
{
|
||||
esp_err_t err;
|
||||
|
Reference in New Issue
Block a user