mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 11:53:33 +08:00
adjust stack sizes
This commit is contained in:
committed by
Lorenz Meier
parent
206d5a7afc
commit
1ecdb0f6fb
@@ -35,7 +35,7 @@ px4_add_module(
|
||||
MODULE modules__sensors
|
||||
MAIN sensors
|
||||
PRIORITY "SCHED_PRIORITY_MAX-5"
|
||||
STACK_MAIN 1300
|
||||
STACK_MAIN 2000
|
||||
COMPILE_FLAGS
|
||||
-O3
|
||||
SRCS
|
||||
|
||||
@@ -2276,7 +2276,7 @@ Sensors::start()
|
||||
_sensors_task = px4_task_spawn_cmd("sensors",
|
||||
SCHED_DEFAULT,
|
||||
SCHED_PRIORITY_MAX - 5,
|
||||
2000,
|
||||
2200,
|
||||
(px4_main_t)&Sensors::task_main_trampoline,
|
||||
nullptr);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user