(solved) Latest timer documentation contradicts itself

istokm
Posts: 27
Joined: Thu Jun 25, 2020 12:11 pm

(solved) Latest timer documentation contradicts itself

Postby istokm » 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 istokm on Mon Oct 19, 2020 11:03 am, edited 2 times in total.

User avatar
ESP_krzychb
Posts: 400
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!

istokm
Posts: 27
Joined: Thu Jun 25, 2020 12:11 pm

Re: Latest timer documentation contradicts itself

Postby istokm » 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: 211
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 50 guests