espressif / esp-idf-cxx

C++ wrapper classes for ESP-IDF components.
Apache License 2.0
77 stars 13 forks source link

9esp_timer_is_active ? #29

Open diplfranzhoepfinger opened 5 months ago

diplfranzhoepfinger commented 5 months ago

Hi, 

in the Timer Wrapper, 

we cannot ask if a Timer is active ? 

https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-reference/system/esp_timer.html#_CPPv419esp_timer_is_active18esp_timer_handle_t

can this be added somehow ?

0xjakob commented 5 months ago

@diplfranzhoepfinger Yes, this can be added. We will add something like the code in the following patch: 0001-WIP-feat-add-is_active.zip