mirror of
https://github.com/espressif/esp-idf.git
synced 2025-10-22 10:35:39 +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
98d34e5f6d
commit
b5fe84a250
@@ -364,6 +364,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