Browse Source

Increased stack sizes, 1K is not enough when calling printf() from within app

sbg
Lorenz Meier 12 years ago
parent
commit
596d20e2a3
  1. 6
      apps/drivers/hil/hil.cpp
  2. 2
      apps/drivers/px4fmu/fmu.cpp

6
apps/drivers/hil/hil.cpp

@ -222,11 +222,11 @@ HIL::init() @@ -222,11 +222,11 @@ HIL::init()
/* reset GPIOs */
// gpio_reset();
/* start the IO interface task */
_task = task_spawn("fmuservo",
/* start the HIL interface task */
_task = task_spawn("fmuhil",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT,
1024,
2048,
(main_t)&HIL::task_main_trampoline,
nullptr);

2
apps/drivers/px4fmu/fmu.cpp

@ -224,7 +224,7 @@ PX4FMU::init() @@ -224,7 +224,7 @@ PX4FMU::init()
_task = task_spawn("fmuservo",
SCHED_DEFAULT,
SCHED_PRIORITY_DEFAULT,
1024,
2048,
(main_t)&PX4FMU::task_main_trampoline,
nullptr);

Loading…
Cancel
Save