Page 1 of 1

(solved) Latest timer documentation contradicts itself

Posted: Tue Jun 30, 2020 8:57 am
by istokm
Unless I'm misunderstanding the context of 'stopped' & 'running' the documentation makes it unclear if you have to stop the timer before deleting it or not.

https://docs.espressif.com/projects/esp ... r_handle_t

Image

Re: Latest timer documentation contradicts itself

Posted: Tue Jun 30, 2020 3:29 pm
by ESP_krzychb
Hi Marek Ištok,

You need to stop the timer before deleting.
I will revise description of ESP_ERR_INVALID_STATE in documentation.

Thank you!

Re: Latest timer documentation contradicts itself

Posted: Tue Jun 30, 2020 3:45 pm
by istokm
ESP_krzychb wrote:
Tue Jun 30, 2020 3:29 pm
You need to stop the timer before deleting.
That's also the option that made the most sense to me =P.
Thanks and no worries :)

Re: Latest timer documentation contradicts itself [solved]

Posted: Fri Jul 10, 2020 9:11 am
by ESP_Alvin
Hi Marek Ištok,

The fix is available at https://github.com/espressif/esp-idf/co ... ff2df58668. Thanks for reporting.

Alvin