mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-07-20 00:48:11 -07:00
+2
-2
@@ -276,8 +276,8 @@ void furi_thread_start(FuriThread* thread) {
|
||||
stack,
|
||||
thread,
|
||||
priority,
|
||||
memmgr_aux_pool_alloc(sizeof(StackType_t) * stack),
|
||||
memmgr_aux_pool_alloc(sizeof(StaticTask_t)));
|
||||
memmgr_alloc_from_pool(sizeof(StackType_t) * stack),
|
||||
memmgr_alloc_from_pool(sizeof(StaticTask_t)));
|
||||
} else {
|
||||
BaseType_t ret = xTaskCreate(
|
||||
furi_thread_body, thread->name, stack, thread, priority, &thread->task_handle);
|
||||
|
||||
Reference in New Issue
Block a user