Latest timer documentation contradicts itself [solved]

Marek Ištok
Posts: 4
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: 286
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: 4
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 :)

Who is online

Users browsing this forum: No registered users and 2 guests