PerMalmberg / Smooth

C++ framework for embedded programming on top of Espressif's ESP-IDF.
Apache License 2.0
325 stars 30 forks source link

Change Task tick up once it's created #154

Closed Paul-Simpson closed 3 years ago

Paul-Simpson commented 3 years ago

Hi,

Apologies if this is a silly question, but is there a way to change the tick duration of an already running task? If not, I'll look into implementing - but want to ask beforehand.

P

PerMalmberg commented 3 years ago

No, there's not. It's meant to be fixed. I don't know your exact use-case, but I recommend using a timer instead, those you can start/stop and set the interval as you desire.

Paul-Simpson commented 3 years ago

Thank you!