mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-22 17:02:25 +00:00
refactor(esp_timer): Remove duplicate code and move it to a common file
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2017-2021 Espressif Systems (Shanghai) CO LTD
|
||||
* SPDX-FileCopyrightText: 2017-2023 Espressif Systems (Shanghai) CO LTD
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
@@ -142,3 +142,12 @@ uint64_t esp_timer_impl_get_alarm_reg(void);
|
||||
*/
|
||||
void esp_timer_impl_init_system_time(void);
|
||||
#endif
|
||||
|
||||
#if CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD
|
||||
/**
|
||||
* @brief Set the next alarm if there is such an alarm in the cached array.
|
||||
*
|
||||
* @note Available only when CONFIG_ESP_TIMER_SUPPORTS_ISR_DISPATCH_METHOD is enabled.
|
||||
*/
|
||||
void esp_timer_impl_try_to_set_next_alarm(void);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user