Static allocation and lightweight idle tasks (#323)

* added multiple idle tasks

* Added multiple IDLE tasks to non-static allocation

* Adjustments to tasks from PR review
This commit is contained in:
Joseph Julicher 2021-05-13 15:42:57 -07:00
parent f5625177f5
commit f916ccf506

14
tasks.c
View file

@ -2756,6 +2756,20 @@ static BaseType_t prvCreateIdleTasks( void )
}
#endif /* configSUPPORT_STATIC_ALLOCATION */
}
return xReturn;
}
void vTaskStartScheduler( void )
{
BaseType_t xReturn;
#if ( configUSE_TIMERS == 1 )
{
xReturn = xTimerCreateTimerTask();
}
#endif /* configUSE_TIMERS */
xReturn = prvCreateIdleTasks();
return xReturn;
}