Latest timer documentation contradicts itself [solved]

Marek Ištok
Posts: 14
Joined: Thu Jun 25, 2020 12:11 pm

Latest timer documentation contradicts itself [solved]

Postby Marek Ištok » Tue Jun 30, 2020 8:57 am

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
Last edited by Marek Ištok on Tue Jun 30, 2020 3:46 pm, edited 1 time in total.

User avatar
ESP_krzychb
Posts: 290
Joined: Sat Oct 01, 2016 9:05 am
Contact:

Re: Latest timer documentation contradicts itself

Postby ESP_krzychb » Tue Jun 30, 2020 3:29 pm

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!

Marek Ištok
Posts: 14
Joined: Thu Jun 25, 2020 12:11 pm

Re: Latest timer documentation contradicts itself

Postby Marek Ištok » Tue Jun 30, 2020 3:45 pm

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 :)

ESP_Alvin
Posts: 129
Joined: Thu May 17, 2018 2:26 am

Re: Latest timer documentation contradicts itself [solved]

Postby ESP_Alvin » Fri Jul 10, 2020 9:11 am

Hi Marek Ištok,

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

Alvin

Who is online

Users browsing this forum: No registered users and 2 guests