mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 17:23:33 +08:00
px4_layer: astyle
This commit is contained in:
@@ -176,6 +176,7 @@ px4_task_t px4_task_spawn_cmd(const char *name, int scheduler, int priority, int
|
||||
if (stack_size < PTHREAD_STACK_MIN) {
|
||||
stack_size = PTHREAD_STACK_MIN;
|
||||
}
|
||||
|
||||
rv = pthread_attr_setstacksize(&attr, stack_size);
|
||||
|
||||
if (rv != 0) {
|
||||
|
||||
Reference in New Issue
Block a user