Improved thread lifecycle (#2534)
* Core, Thread: mark thread to join from prvDeleteTCB * USB HAL: move vars to MEM2 * Core, Thread: cleanup sources * Cli: add magic delays on rx pipe error, prevent cli from consuming processor time * Furi: update thread documentation Co-authored-by: あく <alleteam@gmail.com>
This commit is contained in:
@@ -54,8 +54,8 @@ void vApplicationGetIdleTaskMemory(
|
||||
StackType_t** stack_ptr,
|
||||
uint32_t* stack_size) {
|
||||
*tcb_ptr = memmgr_alloc_from_pool(sizeof(StaticTask_t));
|
||||
*stack_ptr = memmgr_alloc_from_pool(sizeof(StackType_t) * configMINIMAL_STACK_SIZE);
|
||||
*stack_size = configMINIMAL_STACK_SIZE;
|
||||
*stack_ptr = memmgr_alloc_from_pool(sizeof(StackType_t) * configIDLE_TASK_STACK_DEPTH);
|
||||
*stack_size = configIDLE_TASK_STACK_DEPTH;
|
||||
}
|
||||
|
||||
void vApplicationGetTimerTaskMemory(
|
||||
|
||||
Reference in New Issue
Block a user