Running Code In Task Init Function

hirohiro wrote on Thursday, November 28, 2019:

Hmm, that useful food for thought. To be honest I just followed the template code but what you’re saying makes sense from a coordination of resources perspective.

One issue I see with that is initialization code that relies on rtos methods. For examples sometimes delays are required when writing to external sensors. In this case I would need to use a non-rtos delay, however if I were to reconfigure that sensor at run time it would need to use vTaskDelay or similar