mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-27 10:17:45 +08:00
Increased stack sizes, 1K is not enough when calling printf() from within app
This commit is contained in:
@@ -222,11 +222,11 @@ HIL::init()
|
|||||||
/* reset GPIOs */
|
/* reset GPIOs */
|
||||||
// gpio_reset();
|
// gpio_reset();
|
||||||
|
|
||||||
/* start the IO interface task */
|
/* start the HIL interface task */
|
||||||
_task = task_spawn("fmuservo",
|
_task = task_spawn("fmuhil",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_DEFAULT,
|
SCHED_PRIORITY_DEFAULT,
|
||||||
1024,
|
2048,
|
||||||
(main_t)&HIL::task_main_trampoline,
|
(main_t)&HIL::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
@@ -224,7 +224,7 @@ PX4FMU::init()
|
|||||||
_task = task_spawn("fmuservo",
|
_task = task_spawn("fmuservo",
|
||||||
SCHED_DEFAULT,
|
SCHED_DEFAULT,
|
||||||
SCHED_PRIORITY_DEFAULT,
|
SCHED_PRIORITY_DEFAULT,
|
||||||
1024,
|
2048,
|
||||||
(main_t)&PX4FMU::task_main_trampoline,
|
(main_t)&PX4FMU::task_main_trampoline,
|
||||||
nullptr);
|
nullptr);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user