Im new to FreeRTOS and Real Time Operating Systems. I was wondering if it is a good programming style to implement functions inside FreeRTOS Tasks. for Example
void displayTask(void* param) {
static void Factorial (params) {
// doSth
}
for(;;) {
//call it here
Factorial(params);
}
}
or is it better to just implement it outside the Task?, because in Case i have a lot of functions it would be difficult to read the code i guess.