mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-14 14:06:54 +00:00
Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer
This commit is contained in:
@@ -621,3 +621,8 @@ int64_t IRAM_ATTR esp_timer_get_next_alarm_for_wake_up(void)
|
||||
}
|
||||
return next_alarm;
|
||||
}
|
||||
|
||||
bool esp_timer_is_active(esp_timer_handle_t timer)
|
||||
{
|
||||
return timer_armed(timer);
|
||||
}
|
||||
|
Reference in New Issue
Block a user