Add esp_timer_is_active function for Nimble stack to use esp_timer instead of FreeRTOS timer

This commit is contained in:
Rahul Tank
2021-06-01 15:28:37 +05:30
parent 2f8debdde1
commit 3159ba1d5a
5 changed files with 32 additions and 1 deletions

View File

@@ -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);
}